[R] NppToR / RMySQL / loadNamespace() Error

Peter Meissner peter_mei at web.de
Tue May 20 16:08:36 CEST 2014


Dear Listeners,

I finally managed to install RMySQL on my Win7(64Bit) machine with R.3.1.0.

Now, as long as I start R manually and load the package everything is
working just fine: the package loads and I can connect to a database and
query it.

But, when NppToR does start the R session for me something is going
wrong and I have no clue where even to start.

The R-output reads like this:


 > require(RMySQL)
Loading required package: RMySQL
Loading required package: DBI
Error : .onLoad failed in loadNamespace() for 'RMySQL', details:
call: utils::readRegistry("SOFTWARE\\MySQL AB", hive = "HLM",
maxdepth = 2)
error: Registry key 'SOFTWARE\MySQL AB' not found


Does anybody have an idea how to fix or circumvent this?


Best, Peter



More information about the R-help mailing list