In case you are running R from a Linux box the easiest way to communicate to
your MySQL database is through the functions of the RMySQL package. With
this package you do not need any preparatory stages as with ODBC. After
installing the package you can start using it as shown by the following example,