I've been using R for the last few weeks, but not with much success. If
I try sourcing test.R from the 'class' package, I get this error:
Error in .C("VR_knn1", as.integer(ntr), as.integer(nte), as.integer(p),
: C/Fortran function not in load table
I checked the class.so file, and sure enough VR_knn1 is there. Why can't
R find it?
By the way, I'm running RedHat Linux, and downloaded the .rpm from
lib.stat.cmu.edu/R/CRAN/bin/i386-linux/RedHat-5.0/R-base-0.61.2-1.i386.rpm
Any help would be appreciated.
--
Michael Kiefte
Department of Linguistics
University of Alberta
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
R-beta: Not loading C library
3 messages · ernst.molitor@uni-bonn.de, Michael Kiefte
Dear Michael Kiefte,
as a happy (very new) user of R (thanks to everyone involved in
writing this fine package- it's great!), all I could find out was that
with the latest (?) _alpha_ version, for reasons unintelligible to me
(sorry), the .../R-snapshot/library/class/R/class file lacks a line
like
library.dynam("class.so")
at its very end. With this line included, the test.R from the class
package works like a charm on my ELF Linux-2.0.91/GLIBC-2.1x box;
otherwise, I see the error message you have described. Obviously, this
is not a topic for the R-_beta_ discussion list, forgive me for having
mentioned it here...
In R-0.61.2 (compiled out of the box, that is, from the gzipped tar
file), the last line of the R code for the class package in
.../R-0.61.2/library/class/R/class is
library.dynam("class", package = "class")
For this version, the test.R file produces a nice graphical
output without any changes...
Best regards,
Ernst
---
ernst.molitor at uni-bonn.de
Institute for Medical Microbiology and Immunology
University of Bonn, FRG
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Hi again,
I've localized the problem with the library.dynam('class') function in the
class package.
If I restart R in a directory containing .RData from a session in which I
previously used the 'class' library, I get the VR_knn not in library table
error. If there is no .RData file, then it works fine. What is in the
.RData file that's causing this error?
Thanks to everyone who responded the last time!
--
Michael Kiefte
Department of Linguistics
University of Alberta
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._