Difference between revisions of "R: Install di Ubuntu 18.04"

From OnnoWiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
Login sebagai user biasa.
 
Login sebagai user biasa.
  
Install CRAN
+
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 install apt-transport-https software-properties-common
 
 
  sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
 
  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/'
 
  sudo add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran35/'
Line 11: Line 16:
 
  sudo apt update
 
  sudo apt update
 
  sudo apt install r-base
 
  sudo apt install r-base
 +
sudo R CMD javareconf
 +
sudo apt -y install r-cran-rjava
 +
  
 
Cek
 
Cek

Latest revision as of 13:45, 26 November 2019

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