Difference between revisions of "R: Install di Ubuntu"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 5: | Line 5: | ||
chown -Rf nobody: /usr/local/lib/ | chown -Rf nobody: /usr/local/lib/ | ||
apt -y install r-base | apt -y install r-base | ||
+ | exit | ||
+ | |||
+ | Supaya aman untuk melakukan text mining, lakukan juga | ||
+ | |||
+ | 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 | ||
+ | |||
+ | Masuk ke R sebagai user biasa | ||
+ | |||
+ | R | ||
+ | |||
+ | Install rJava & RWeka | ||
+ | |||
+ | install.packages("rJava") | ||
+ | install.packages("RWeka") | ||
+ | |||
Revision as of 15:39, 6 November 2018
Instalasi
sudo su chmod -Rf 777 /usr/local/lib/ chown -Rf nobody: /usr/local/lib/ apt -y install r-base exit
Supaya aman untuk melakukan text mining, lakukan juga
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
Masuk ke R sebagai user biasa
R
Install rJava & RWeka
install.packages("rJava") install.packages("RWeka")
Menjalankan sebagai user biasa, dengan
sudo -i R