[R] Error loading ctest

Prof Brian D Ripley ripley at stats.ox.ac.uk
Wed Mar 8 23:56:19 CET 2000


On Wed, 8 Mar 2000 partha_bagchi at hgsi.com wrote:

> Has anyone noticed this behavior:
> 
> > library(ctest)
> Error in dyn.load(x, as.logical(local), as.logical(now)) :
>         unable to load shared library "J:
> \STATS\RW1000/library/ctest/libs/ctest.dll":
>   LoadLibrary failure
> > library(ctest)
> > version
>          _
> platform Windows
> arch     x86
> os       Win32
> system   x86, Win32
> status
> major    1
> minor    0.0
> year     2000
> month    February
> day      29
> language R
> >
> 
> The first time ctest fails to load and loads on the second try??
> Thanks for any insight.

Are you sure it loads the second time?  If you load a package and it fails
in .First.lib, then the environment is already there, and when you go to
load it again it does not reload it. (Try this with a library that has a
start-up banner like KernSmooth or locfit.)  It just finds the name already
there and quits. My expectation would be that the compiled code is
unavailable after what you describe.

Perhaps we ought to alter this to make a failure in .First.lib unload the
package.

We've corresponded on this privately:

>         unable to load shared library "J:
> \STATS\RW1000/library/ctest/libs/ctest.dll":

is suspicious. Is this what you actually get or is your mailer (or
something else en route) breaking that line?

As Thomas says, this works for lots of other installations. Can you
try it on a local disc (if J: is your Novell one)?

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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