Instructions for connecting R with a mySQL database on Linux:

ITEMACTION
R
  1. sudo gedit /etc/apt/sources.list
    Add to file: deb http://cran.rstudio.com/bin/linux/ubuntu trusty/
  2. sudo apt-get update
    sudo apt-get upgrade
    sudo apt-get install r-base
  3. restart MATLAB
RMySQL
connector
Rattle
graphics
  1. Download: http://rattle.togaware.com/rattle-install-ubuntu.html
Test
  1. Try running this file: mysql.r
  2. get into R
    R
  3. > source("mysql.r")
Learn
  1. Interactive tutorial: http://tryr.codeschool.com/