[R] NppToR / RMySQL / loadNamespace() Error

Brian Ripley ripley at stats.ox.ac.uk
Tue May 20 18:46:19 CEST 2014


We have no idea what NppToR Is.  But as a guess you ran 64-bit R and it ran 32-bit or v.v.
Why don't you ask NppToR's help service?

The architecture of MySQL must match that of the R under which you installed RMySQL.


> On 20 May 2014, at 15:08, Peter Meissner <peter_mei at web.de> wrote:
> 
> 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
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list