R: Install java

From OnnoWiki
Revision as of 13:05, 6 November 2018 by Onnowpurbo (talk | contribs) (Created page with "Di Shell java -version sudo apt-get install default-jre sudo apt-get install default-jdk sudo R CMD javareconf sudo apt-get install r-cran-rjava sudo apt-get install li...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Di Shell

java -version
sudo apt-get install default-jre
sudo apt-get install default-jdk
sudo R CMD javareconf
sudo apt-get install r-cran-rjava
sudo apt-get install libgdal-dev libproj-dev

Di R

install.packages("rJava")

Done!

There might be some errors displayed during package installation - just don't look at it (I did and all was fine).


Pranala Menarik