Getting started with rciop

Installation procedure

Hereafter, you will find the basic steps needed to install anaconda (esp. the Conda package manager tool for Python and R) and rciop:

To install anaconda:

sudo yum install -y miniconda

Add anaconda binaries to PATH

export PATH=/opt/anaconda/bin/:$PATH

To install R and rciop:

sudo conda install -c r  r-essentials
sudo conda install -c r -c terradue r-rciop

To search for an R package:

sudo conda search -c r <package>

To install an R package

sudo conda install -c r <package>

To install an R package from another channel

sudo conda install -c <channel> <package>

Usage

To use Anaconda’s R, use the following shebang in your Python scripts:

#!/opt/anaconda/bin/Rscript

Example

#!/opt/anaconda/bin/Rscript

library('rciop')