Install R Programming Language in Ubuntu

This post describe about installation steps for R- Programming Language.

For Windows we have direct exe file but for Linux its in a single click way but you can still do it below commands easily.


Open your terminal and type below commands as root user.


echo "
deb https://cloud.r-project.org/bin/linux/ubuntu xenial/
deb https://cloud.r-project.org/ trusty-backports main restricted universe" >> /etc/apt/sources.list
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 51716619E084DAB9
sudo apt-get update
sudo apt-get install -y r-base r-base-dev
sudo apt-get install r-cran-boot r-cran-class r-cran-cluster r-cran-codetools r-cran-foreign r-cran-kernsmooth r-cran-lattice r-cran-mass r-cran-matrix r-cran-mgcv r-cran-nlme r-cran-nnet r-cran-rpart r-cran-spatial r-cran-survival r-cran-rodbc

If any questions please dont hesitate to ask.

Thank you.


0 comments:

Post a Comment