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

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Tue May 12 17:36:40 CEST 1998


Paul Gilbert <pgilbert at 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 at 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 at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list