I've been trying to access a MySQL database using R (using Ubuntu 12.04), which I feel should be a rather natural thing to do as R is a statistical language. Yet, it seems like pulling teeth. It seems that the only library that does not run into dependency errors is RMySQL, but even then it seems it can only be accessed by installing it outside of R:
sudo apt-get install r-cran-rmysql
However, I was unable to run it in R because I would run into the following error:
package 'RMySQL' was built before 3.0.0, please re-install it
Not being one to question orders, I went ahead and re-installed all of R. However, I found myself right back at square one, this time with almost the exact opposite error:
package 'RMySQL' is not available (for R version 3.2.4 Revised)
In other words, the first error I got seemed to say "I won't run unless R is updated", now this new error says "I can't run if R is updated".
To make a long story short, how do I accomplish this rather simple task of accessing MySQL with R?