Re: R-beta: C/Fortran function not in load table

Peter Dalgaard BSA (p.dalgaard@biostat.ku.dk)
12 May 1998 17:36:40 +0200


To: Paul Gilbert <pgilbert@bank-banque-canada.ca>
Subject: Re: R-beta: C/Fortran function not in load table
From: Peter Dalgaard BSA <p.dalgaard@biostat.ku.dk>
Date: 12 May 1998 17:36:40 +0200
In-Reply-To: Paul Gilbert's message of Tue, 12 May 1998 09:43:15 -0400

Paul Gilbert <pgilbert@bank-banque-canada.ca> writes:

> 
> >> knn1(train, test, cl)
> >Error in .C("VR_knn1", as.integer(ntr), as.integer(nte), as.integer(p),
> >: C/Fortran function not in load table
> 
> This sounds like the bug which causes .Dyn.libs to linger in .RData, causing
> code not to be dyn.loaded. If you really didn't intend to save .RData then you
> can rm .RData before you start R. Otherwise, once R is started, but before you
> use library() do rm(.Dyn.libs).

That one should be fixed in 0.61.3:
> .First  
function () 
{
        if (exists(".Dyn.libs", envir = .GlobalEnv)) 
                rm(".Dyn.libs", envir = .GlobalEnv)
        if (interactive() && getenv("DISPLAY") != "") 
                x11()
}

So unless you've been creating your own .First, .Dyn.libs shouldn't
get in the way and the error must be somewhere else.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._