Difference between revisions of "R: Install java"

From OnnoWiki
Jump to navigation Jump to search
(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...")
 
 
Line 2: Line 2:
  
 
  java -version
 
  java -version
  sudo apt-get install default-jre
+
  sudo apt -y install default-jre
  sudo apt-get install default-jdk
+
  sudo apt -y install default-jdk
 
  sudo R CMD javareconf
 
  sudo R CMD javareconf
  sudo apt-get install r-cran-rjava
+
  sudo apt -y install r-cran-rjava
  sudo apt-get install libgdal-dev libproj-dev
+
  sudo apt -y install libgdal-dev libproj-dev
  
 
Di R
 
Di R
  
 
  install.packages("rJava")
 
  install.packages("rJava")
 
+
install.packages("RWeka")
Done!
 
 
 
There might be some errors displayed during package installation - just don't look at it (I did and all was fine).
 
  
  

Latest revision as of 13:51, 6 November 2018

Di Shell

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

Di R

install.packages("rJava")
install.packages("RWeka")


Pranala Menarik