[R] dyn.load error:

Guido Masarotto guido at sirio.stat.unipd.it
Mon Jun 19 08:44:36 CEST 2000

On Sun, Jun 18, 2000 at 09:00:16PM -0500, reza shahidzadeh mahani wrote:
> (I am using R-1.0.1 on windows NT, The name of fortran file (compiled
> Ratfor) is deldirld.o and it's in the D:\Reza\476\tv.gonsrc.R\ directory)
> >dyn.load("deldirld.o")
> Error in dyn.load(x, as.logical(local), as.logical(now)) : 
>         unable to load shared library
> "D:\Reza\476\tv.gonsrc.R\deldirld.o":
>   LoadLibrary failure

  R can only load dynamic link library (dll) not object file.
  Hence, look to your compiler manual on how you can generate
  a dll. More details, including instruction for mingw, VC++ and
  Borland C++ are in the README.PACKAGES file included in 
  the rwXXXXsp.zip bit of the binary distribution.

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list