[R] RMySQL installation and loading errors

Uwe Ligges ligges at statistik.uni-dortmund.de
Sun Feb 16 13:48:02 CET 2003


TyagiAnupam at aol.com wrote:
> 
> In a message dated 2/16/03 6:24:53 AM Eastern Standard Time,
> ligges at statistik.uni-dortmund.de writes:
> 
> > TyagiAnupam at aol.com wrote:
> > >
> > > Thanks. The file is indeed there. By default Windows Explorer makes the
> > *.dll
> > > files invisible. The file seem to be in a branch of the default library.
> > I am
> > > missing something here.
> > > > .libPaths()
> > > [1] "H:/PROGRAMLOCAL/RW1062/library"
> > > > library(RMySQL)
> > >  Loading required package: methods
> > >  Error in dyn.load(x, as.logical(local), as.logical(now)) :
> > >          unable to load shared library
> > >  "H:/PROGRAMLOCAL/RW1062/library/RMySQL/libs/RMySQL.dll":
> > >    LoadLibrary failure:  One of the library files needed to run this
> > >  application cannot be found.
> > >  Error in library(RMySQL) : .First.lib failed
> >
> >
> > You missed to read README.windows in the packages' directory and Brian
> > Ripley's mail carefully (citing the latter):
> > "I suspect all you need to do is to put .../library/RMySQL/lib in your
> > path",
> > where path means the *environment variable* of your OS called PATH.
> >
> > If you don't know how to set environment variables, please contact the
> > IT stuff of your department or the OS manuals / support.
> >
> > Uwe Ligges
> >
> 
> Thanks. Just did it in Autoexec.bat file. It seems to be working well. While
> loading the library there is still a warning. Is this something to worry
> about?
> 
> > {pkg <- select.list(sort(.packages(all.available = TRUE)))
> + if(nchar(pkg)) library(pkg, character.only=TRUE)}
> Loading required package: methods
> Warning message:
> DLL attempted to change FPU control word from 8001f to 9001f



More information about the R-help mailing list