I am not sure whether you are working under windows. Hope the following
message helps.
Using the RMySQL package under Windows
http://www.stat.berkeley.edu/users/spector/s133/RMySQL_windows.html
On 2010-8-27 5:03, quant wrote:> I installed MySQL 5.0.67 and R. I installed RMySQL and added env variable
> MYSQL_HOME. But R still does not want to load the library. It says
> Error : .onLoad failed in loadNamespace() for 'RMySQL', details:
> call: NULL
> error: MYSQL_HOME was set but does not point to a directory
> Error: package/namespace load failed for 'RMySQL'
>
> Please help.
>