R: Install di Ubuntu 18.04

From OnnoWiki
Jump to navigation Jump to search

Login sebagai user biasa.

Install Apps Pendukung

sudo apt -y install default-jre
sudo apt -y install default-jdk
sudo apt -y install apt-transport-https software-properties-common
sudo apt -y install libudunits2-dev libcurl4-openssl-dev libssl-dev libxml2-dev libapparmor-dev libpoppler-cpp-dev
sudo apt -y install libgdal-dev libproj-dev libcurl4-openssl-dev libssl-dev
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
sudo add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran35/'

Install R

sudo apt update
sudo apt install r-base
sudo R CMD javareconf
sudo apt -y install r-cran-rjava


Cek

R --version


Pranala Menarik