[Rd] question

Erich Neuwirth erich.neuwirth@univie.ac.at
Sat, 08 Dec 2001 10:19:43 +0100


here is the example

this is how i read my data

assign("oldfilename","d:\\documents\\wahl99\\nrw95testin.csv",envir=.GlobalEnv)
olddata<-read.csv(oldfilename,as.is=TRUE,sep=";",header=FALSE,
col.names=c("nr","name","wb95","abg95","glt95",
        "sp95","vp95","fp95","gr95","lif95"))


when i then compute
olddata["sp95"]/olddata["wb95"]

r 1.3.1 is ok,
and r 1.4.0 says

Error in FUN(left, right) : non-numeric argument to binary operator




--
Erich Neuwirth, Computer Supported Didactics Working Group
Visit our SunSITE at http://sunsite.univie.ac.at
Phone: +43-1-4277-38624 Fax: +43-1-4277-9386
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._