From p.dalgaard@biostat.ku.dk  Fri Dec  7 22:31:52 2001
From: p.dalgaard@biostat.ku.dk (Peter Dalgaard BSA)
Date: 07 Dec 2001 23:31:52 +0100
Subject: [Rd] question
In-Reply-To: <3C1110C6.F55706D9@univie.ac.at>
References: <Pine.LNX.4.31.0112071132070.18476-100000@gannet.stats>
 <3C1110C6.F55706D9@univie.ac.at>
Message-ID: <x2vgfisluv.fsf@blueberry.kubism.ku.dk>

Erich Neuwirth <erich.neuwirth@univie.ac.at> writes:

> 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?

Eh? Could you give an example of how to create such a data frame? The
things I can think up give the same in both versions?

-- 
   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-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
Peter Dalgaard BSA