To get R, start by updating the repositories and the get r-base:
$ sudo apt-get install r-base
When one needs to develop a R package, the development stuff should also be installed:
To install JGR, it’s necessary to enable Java support in R:
And then install the JGR library:
After installed, run:
JGR has a small problem though, it has been installed as root and it seems unusable with any other user. One can set the correct user permissions for that.
Automating the startup of R with JGR is simple when using a shell script. Name it runr.sh and include:
While the jgr.r file contains the JGR start commands
Now, running ./runr.sh starts R and JGR all in one.