Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rynkowsg/r-scripts


https://github.com/rynkowsg/r-scripts

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

## Requirements
- R
- littler



## Installation
#### Arch Linux

yaourt -S r littler



### Configuration
#### Set location of users library

sudo groupadd rusers
sudo usermod -a -G rusers ${USER}

sudo mkdir -p /usr/local/lib/R/library
sudo chown ${USER}:rusers /usr/local/lib/R/library

echo "R_LIBS_USER = \"/usr/local/lib/R/library\"" \
| tee -a ${HOME}/.Renviron



### Usage

./installr.r

Example:

./installr.r gdata
./installr.r openxlsx xlsx



### Problems with rJava on Arch
(problem isn't related to script or littler)

To install rJava you should:

unset JAVA_HOME # unset JAVA_HOME variable
sudo R CMD javareconf # update R's Java configuration
./install.r rJava # and at the end install rJava