sudo gedit /etc/apt/sources.list
deb http://cran.rstudio.com/bin/linux/ubuntu trusty/
sudo apt-get updatesudo apt-get upgradesudo apt-get install r-base
R
source("mysql.r")