Setting a default shell to bash
Add this command to .profile
SSH to server without password
- Create public and private keys using ssh-key-gen on local-host
Setting up R library directories
- Install R (R-3.1.1 in my case)
- Test loading all libraries to check if there is any error.
Setting up Java environment and Installing rJava without root privileges
Download Oracle a JDK package (jdk-8u121-linux-x64.tar.gz) from here (http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html)
Unpack it to /home/user/local/lib
Run R CMD javareconf -e in console to ensure that all is correct.
- Add these two lines to ~/.Rprofile