Last active
February 8, 2018 19:17
-
-
Save FelipeSBarros/60b80f55ead35916e9eda2b2bfbe1c5a to your computer and use it in GitHub Desktop.
Script de instalación de R, RStudio y algunos paquetes más...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Update & upgrade | |
| sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get autoremove && sudo apt-get autoclean && sudo apt-get clean | |
| # ADD repository | |
| # Rstudio | |
| sudo echo "deb http://cran.rstudio.com/bin/linux/ubuntu xenial/" | sudo tee -a /etc/apt/sources.list | |
| sudo sh -c "echo 'deb http://cran.fiocruz.br/bin/linux/ubuntu xenial/' >> /etc/apt/sources.list" | |
| # Installing R | |
| sudo apt-get install r-base r-base-dev | |
| # Downloading RStudio | |
| sudo apt-get update && sudo apt-get install libgdal-dev libgdal1-dev libproj-dev libgeos-dev #https://stackoverflow.com/questions/31342575/rgdal-wont-install | |
| #wget https://download1.rstudio.org/rstudio-1.0.143-amd64.deb | |
| wget https://download1.rstudio.org/rstudio-1.1.423-i386.deb | |
| # Installing RStudio | |
| sudo gdebi -n rstudio-1.1.423-i386.deb | |
| # Removing RStudio | |
| rm rstudio-1.1.423-i386.deb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment