Analyse de données
De Wik&Tic Wik&siT
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.