[BioC] LoadLibrary failures when loading RMySQL and xps packages
cstrato
cstrato at aon.at
Thu Jul 3 18:18:11 CEST 2008
Dear Marie
As Martin already mentioned (thank you) xps requires to install ROOT first:
Since you are using WinXP and tried to install the binary version of xps,
you need to download and install the following ROOT version first:
http://root.cern.ch/root/Version518.html
WindowsXP/NT/w2000 with VC++ 7.1 (runs with VC++6 and VC++8.0), version
5.18/00 <ftp://root.cern.ch/root/root_v5.18.00.win32.msi>
As Martin also mentioned there is a README file how to install ROOT.
Please let me know if you have further questions.
Best regards
Christian
_._._._._._._._._._._._._._._._
C.h.i.s.t.i.a.n S.t.r.a.t.o.w.a
V.i.e.n.n.a A.u.s.t.r.i.a
e.m.a.i.l: cstrato at aon.at
_._._._._._._._._._._._._._._._
Martin Morgan wrote:
> Hi Marie --
>
> Marie Chehani Alles <m.alles at garvan.org.au> writes:
>
>
>> Hi,
>> I work with Windows XP. I recently updated to R
>> v.2.7 and Bioconductor v.2.2, and am now having
>> trouble loading libraries of packages that appear to
>> have been installed successfully.
>>
>> An example for the workflow and error message I get
>> when I try to load the library for the “RMySQL”
>> package follows:
>>
>> utils:::menuInstallPkgs()
>> trying URL
>> 'http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.7/RMySQL_0.6-0.zip'
>> ...
>> package 'RMySQL' successfully unpacked and MD5 sums
>> checked
>>
>> The downloaded packages are in
>> C:\Documents and Settings\YYYYYY\Local
>> Settings\Temp\RtmpF3NdQe\downloaded_packages
>> updating HTML package descriptions
>>
>>
>>> library(RMySQL)
>>>
>> Error in inDL(x, as.logical(local), as.logical(now),
>> ...) :
>> unable to load shared library
>> 'C:/PROGRA~1/R/R-27~1.1/library/RMySQL/libs/RMySQL.dll':
>> LoadLibrary failure: The specified module could not
>> be found.
>>
>
> Both RMySQL and xps depend on additional software, and the error
> message is probably trying to say that errors in the external software
> configuration made it impossible to load the R package.
>
> For RMySQL, it looks like mysql has to be installed, and libmysql.dll
> on the PATH variable of your system (the elaborate solution of copying
> libmysql.dll from another distribution suggested in the email thread
> does not seem like a good idea to me; install MySQL, find libmysql.dll
> in the installation, add the path to the containing folder to the
> environment variable PATH).
>
> xps requires ROOT. I do not have experience with that, but again the
> package has a README file that details steps required for installation
> and on configuration on Windows.
>
> Hope that helps,
>
> Martin
>
>
>> Error: package/namespace load failed for 'RMySQL'
>>
>> I thought it was simply an issue with the RMySQL
>> .dll (as discussed at
>> http://134.148.236.121/R/e2/help/07/10/28144.html),
>> but I get an identical error with the xps package,
>> even though the xps.dll file is present in the
>> C:\Program Files\R\R-2.7.1\library\xps\libs folder.
>>
>> Error in inDL(x, as.logical(local), as.logical(now),
>> ...) :
>> unable to load shared library
>> 'C:/PROGRA~1/R/R-27~1.1/library/xps/libs/xps.dll':
>> LoadLibrary failure: The specified module could not
>> be found.
>> Error: package/namespace load failed for 'xps'
>> This error does not appear for all downloaded
>> packages – for example, libraries for the
>> “affy”, “multtest” and “plier” packages
>> install fine.
>>
>> Can anyone tell me why R can’t “find” the
>> RMySQL.dll & xps.dll files, and how to bypass this
>> issue? Any help would be much appreciated!
>>
>> Regards,
>> Marie
>>
>> Marie Alles
>> Garvan Institute of Medical Research
>> 384 Victoria Street, Darlinghust, Sydney, NSW 2010,
>> AUSTRALIA
>>
>> [[alternative HTML version deleted]]
>>
>> _______________________________________________
>> Bioconductor mailing list
>> Bioconductor at stat.math.ethz.ch
>> https://stat.ethz.ch/mailman/listinfo/bioconductor
>> Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor
>>
>
>
More information about the Bioconductor
mailing list