Skip to content

Instantly share code, notes, and snippets.

@mariomartinezsz
Last active June 20, 2017 17:20
Show Gist options
  • Save mariomartinezsz/bf5b6bbb0913c08d49ba6e9cd7805123 to your computer and use it in GitHub Desktop.
Save mariomartinezsz/bf5b6bbb0913c08d49ba6e9cd7805123 to your computer and use it in GitHub Desktop.
Instalación de R y RStudio en Linux (distribuciones basadas en Ubuntu 16.04 Xenial) 64-bit
#!/bin/sh
# Script para instalar R y RStudio en Ubuntu 16.04 Xenial de 64-bit
sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys E084DAB9
sudo add-apt-repository 'deb https://ftp.ussg.iu.edu/CRAN/bin/linux/ubuntu xenial/'
sudo apt-get update
sudo apt-get install r-base
sudo apt-get install r-base-dev
# Descarga e instalación de RStudio
sudo apt-get install gdebi-core
wget https://download1.rstudio.org/rstudio-1.0.143-amd64.deb
sudo gdebi rstudio-1.0.143-amd64.deb
rm rstudio-1.0.143-amd64.deb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment