Re: [R] error trying to load biOps under 2.6.1 running XP

From: Matias Bordese <mbordese_at_gmail.com>
Date: Tue, 11 Dec 2007 09:53:50 -0300

On Dec 11, 2007 5:11 AM, Prof Brian Ripley <ripley_at_stats.ox.ac.uk> wrote:
> On Mon, 10 Dec 2007, Brian O'Gorman wrote:
>
> > I'm running R 2.6.1 on a WXP machine. When I do the following I get an error
> > message.
> >
> >> library(biOps)
> > Error in dyn.load(file, ...) :
> > unable to load shared library
> > 'C:/PROGRA~1/R/R-26~1.1/library/biOps/libs/biOps.dll':
> > LoadLibrary failure: The specified module could not be found.
> > Error: package/namespace load failed for 'biOps'
> >
> > Please help, or comments about what I'm doing wrong? (It seems to me the
> > correct directory or folder isn't being located.)
>
> That message should also have given a message box with more information,
> saying what the problem was: it does not usually mean the 'shared library'
> named. It does for me:
>
> 'The application failed to start because libfftw3-3.dll was not found.'
>
> Other DLLs are also missing: jpeg62.dll and libtiff3.dll (use pedump to
> find this out). So you need to use Google to find those DLLs and put them
> on your PATH.

As described, the problem seems to be you don't have all the necessary libraries installed.

You should install the libtiff and libjpeg library binaries. You can get them from http://gnuwin32.sourceforge.net/packages/tiff.htm and http://gnuwin32.sourceforge.net/packages/jpeg.htm. You also must check that the binaries of the libraries are installed in a directory in your PATH environment variable.

You also need to have libfftw3 installed on your system. You can get it from ftp://ftp.fftw.org/pub/fftw/fftw-3.1.2-dll.zip, and as with the other libraries, you should add it to your PATH variable too.

> You also need to read
> http://cran.r-project.org/bin/windows/contrib/2.6/ReadMe
> and suggest to Uwe Ligges what he adds a note about this (it applies to
> SoPhy for libtiff3.dll as well).

Yes, I guess we should add a note.

I hope you get it to work, and no doubt in asking what you need. Thanks,
Best,
Matías Bordese.



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. Received on Tue 11 Dec 2007 - 13:01:43 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 11 Dec 2007 - 15:30:20 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.