[Rd] Win7 x64 "device not ready" error when DLLpath passed to dyn.load
Duncan Murdoch
murdoch.duncan at gmail.com
Wed Aug 10 14:07:58 CEST 2011
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
More information about the R-devel
mailing list