I run Ubuntu (on MAC) and Linux (on Dell). When I started with ‘R’ I found it a challenge to install packages with rJava dependencies – also having trouble installing rJava. I finally found an amazing way to install rJava on Ubuntu/Linux (credit to Hanna Rudakouskaya …

Ubuntu VPS Hosting via How to install ‘rJava’ on RStudio Server.