Thursday, April 28, 2016

0

Install R in Redhat 7.2

  • Thursday, April 28, 2016
  • Installation of R in redhat is simple.
    First download the below file

    wget http://public-yum.oracle.com/public-yum-ol7.repo

    open the downloaded file and change enabled property into 1
    vi public-yum-ol7.repo

    [ol7_latest]
    enabled=1
    
    [ol7_addons]
    enabled=1
    [ol7_optional_latest]
    enabled = 1

    then
     sudo yum install R.x86_64

    Now R is installed.. 
    typr R you ll get 

    R>
    error:

    If you are getting below error 
     
    Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
     
    GPG key retrieval failed: [Errno 14] curl#37 - "Couldn't open file /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle"

     
    Try the below command to download oracle gpg file
    
    
     
    wget http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol7 -O /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
    then
    sudo yum install R.x86_64
     
    issue has resolved..

    
    
    Read more...

    Subscribe