« Analyse de données » : différence entre les versions
De Wik&Tic Wik&siT
Aucun résumé des modifications |
Aucun résumé des modifications |
||
Ligne 3 : | Ligne 3 : | ||
Run these lines (if <code>root</code>, remove <code>sudo</code>) to tell Ubuntu about the R binaries at CRAN. | Run these lines (if <code>root</code>, remove <code>sudo</code>) to tell Ubuntu about the R binaries at CRAN. | ||
<code> | <code> # update indices | ||
sudo apt update -qq | sudo apt update -qq | ||
# install two helper packages we need | # install two helper packages we need | ||
Ligne 16 : | Ligne 15 : | ||
Run these lines (if root, remove sudo) to tell Ubuntu about the R binaries at CRAN. | Run these lines (if root, remove sudo) to tell Ubuntu about the R binaries at CRAN. | ||
Then run | |||
<code>sudo apt install --no-install-recommends r-base</code> | |||
to to install R and its dependencies. |
Version actuelle datée du 7 mai 2023 à 15:13
Installation System R
https://pbil.univ-lyon1.fr/CRAN/
Run these lines (if root
, remove sudo
) to tell Ubuntu about the R binaries at CRAN.
# update indices
sudo apt update -qq
# install two helper packages we need
sudo apt install --no-install-recommends software-properties-common dirmngr
# add the signing key (by Michael Rutter) for these repos
# 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/"
Run these lines (if root, remove sudo) to tell Ubuntu about the R binaries at CRAN.
Then run
sudo apt install --no-install-recommends r-base
to to install R and its dependencies.