On 11-08-10 7:51 AM, Michael Lawrence wrote:
Hi,

Does anyone have any idea why some installations of 64 bit Windows 7 yields
an error like this when passing DLLpath to dyn.load or library.dynam?

library(RGtk2)
Error in inDL(x, as.logical(local), as.logical(now), ...) :
  unable to load shared object 'c:/R/libuser/RGtk2/libs/x64/
RGtk2.dll':
  LoadLibrary failure:  The device is not ready.

For now I guess I will fall back to setting the PATH explicitly.

One source of problems like that is interference from anti-virus programs. If they have exclusive access to the DLL to check it for problems, then LoadLibrary won't be able to load it.

I don't know if there's a way to avoid this automatically.

Duncan Murdoch

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to