From erich.neuwirth@univie.ac.at  Fri Dec  7 18:56:06 2001
From: erich.neuwirth@univie.ac.at (Erich Neuwirth)
Date: Fri, 07 Dec 2001 19:56:06 +0100
Subject: [Rd] question
References: <Pine.LNX.4.31.0112071132070.18476-100000@gannet.stats>
Message-ID: <3C1110C6.F55706D9@univie.ac.at>

in r 1.3.1,
i read in data into a dataframe and (erroneously) forgot to convert text
into numbers.

the frame was called olddata
then i could to the following calculation:

vp95<-olddata["vp95"]/olddata["wb95"]

"vp95" and "wb95" are column names.

in r 1.4.0, this does not work any more.
i have to do

vp95<-as.real(olddata[,"vp95"])/as.real(olddata[,"wb95"])

is this intended behavior now?



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


[Rd] question
Erich Neuwirth