R: Install di Ubuntu

From OnnoWiki
Revision as of 15:39, 6 November 2018 by Onnowpurbo (talk | contribs)
Jump to navigation Jump to search

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


Pranala Menarik