RRO
From FarmShare
(Difference between revisions)
Chekh (Talk | contribs)
(Created page with "Revolution R is a pre-packages distribution of R. Here's how you can install it into your homedir without sysadmin intervention. It's a little bit round-about because they actu...")
Newer edit →
(Created page with "Revolution R is a pre-packages distribution of R. Here's how you can install it into your homedir without sysadmin intervention. It's a little bit round-about because they actu...")
Newer edit →
Revision as of 11:44, 13 October 2015
Revolution R is a pre-packages distribution of R. Here's how you can install it into your homedir without sysadmin intervention.
It's a little bit round-about because they actually only provide .deb packages, but we want just the files. So we extract the files from the deb instead of just installing the deb into the system.
We currently use the Ubuntu 14.04 distribution, so we download the appropriate packages from here: https://mran.revolutionanalytics.com/download/#download
mkdir ~/RRO cd RRO wget https://mran.revolutionanalytics.com/install/RRO-3.2.2-Ubuntu-14.4.x86_64.deb wget https://mran.revolutionanalytics.com/install/RevoMath-3.2.2.tar.gz dpkg -X RRO-3.2.2-Ubuntu-14.4.x86_64.deb . tar zxvf RevoMath-3.2.2.tar.gz export LD_LIBRARY_PATH=~/RRO/RevoMath/mkl/libs:$LD_LIBRARY_PATH export PATH=~/RRO/usr/lib64/RRO-3.2.2/R-3.2.2/lib/R/bin/:$PATH
Now you can check which R you're going to use, it should point to the RRO R:
which R
You can check the version:
R --version
You can check the library:
R library();
In my case it says:
Packages in library ‘/home/chekh/RRO/usr/lib64/RRO-3.2.2/R-3.2.2/lib/R/library’: