Then use the sudo command to install some packages,
(After entering the password). Just type (or copy/paste)
sudo apt-get install libcurl4-openssl-devsudo apt-get install libxml2-devsudo apt-get install openjdk-8-*update-alternatives --config javasudo apt-get install aptitudesudo aptitude install libgdal-devsudo aptitude install libproj-devsudo apt-get install build-essential libcurl4-gnutls-dev libxml2-dev libssl-devsudo apt-get install curlsudo apt-get build-dep r-cran-rglsudo apt-get install r-cran-plyr r-cran-xml r-cran-reshape r-cran-reshape2 r-cran-rmysqlsudo apt-get install r-cran-rjavasudo apt-get install r-cran-glmnetsudo apt-get build-dep r-cran-bootsudo apt-get build-dep r-cran-classsudo apt-get build-dep r-cran-clustersudo apt-get build-dep r-cran-codetoolssudo apt-get build-dep r-cran-foreignsudo apt-get build-dep r-cran-kernsmoothsudo apt-get build-dep r-cran-latticesudo apt-get build-dep r-cran-masssudo apt-get build-dep r-cran-matrixsudo apt-get build-dep r-cran-mgcvsudo apt-get build-dep r-cran-nlmesudo apt-get build-dep r-cran-nnetsudo apt-get build-dep r-cran-rpartsudo apt-get build-dep r-cran-spatialsudo apt-get build-dep r-cran-survivalsudo apt-get build-dep r-cran-rodbcsudo apt-get build-dep
Then, in RStudio, enter
install.packages("RCurl")install.packages("xml")install.packages("rJava")install.packages("rgdal")install.packages("xlsx")install.packages("devtools")
Recommended Posts