By | 10 Juni 2021

Dalam dunia data science, tools yang sangat populer adalah “duet maut” Python dan R. Yang tertarik menikmati belitan Python bisa klik link ini. Yang berminat mencoba R bisa mulai dengan install R dan R Studio.

Ini tahapan instalasi R yang simple dari https[:]//linuxize.com/post/how-to-install-r-on-ubuntu-20-04/:

1 Install the dependencies necessary to add a new repository over HTTPS:

sudo apt install dirmngr gnupg apt-transport-https ca-certificates software-properties-common

2. Add the CRAN repository to your system sources’ list:

$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
$ sudo add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu focal-cran40/'

3. Install R by typing:

sudo apt install r-base


4. The installation may take a few minutes to complete. Once completed, verify it by printing the R version:

R --version
R version 4.1.0 (2021-05-18) -- "Camp Pontanezen"
Copyright (C) 2021 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under the terms of the
GNU General Public License versions 2 or 3.
For more information about these matters see
https://www.gnu.org/licenses/.

R sudah terinstall di sistem kita. Lanjutkan dengan instalasi R Studio.

Tinggalkan Balasan

Alamat email Anda tidak akan dipublikasikan. Ruas yang wajib ditandai *