R install @Ubuntu20
#Ubuntu #PCsettings #R
Aim
R と Rstudio を install
Install R
参考
official
code:install_R
# To verify key, run gpg --show-keys /etc/apt/trusted.gpg.d/cran_ubuntu_key.asc
# Fingerprint: E298A3A825C0D65DFD57CBB651716619E084DAB9
wget -qO- https://cloud.r-project.org/bin/linux/ubuntu/marutter_pubkey.asc | sudo tee -a /etc/apt/trusted.gpg.d/cran_ubuntu_key.asc
# add the R 4.0 repo from CRAN -- adjust 'focal' to 'groovy' or 'bionic' as needed
sudo add-apt-repository "deb https://cloud.r-project.org/bin/linux/ubuntu $(lsb_release -cs)-cran40/"
# Install R
sudo apt install --no-install-recommends r-base
Install Rstudio
最新版をチェック
Ubuntu20 はなかったので Ubuntu18+ を選択した (rstudio-2022.07.2-576-amd64.deb) .
リンクをコピーして wget
code:install_Rstudio
cd ~/Downloads
# Download R-studio
eget https://download1.rstudio.org/desktop/bionic/amd64/rstudio-2022.07.2-576-amd64.deb
# Install
sudo gdebi rstudio-2022.07.2-576-amd64.deb
Date :2022/10/18
Modified Date :
Author :lattice.icon