From p.dalgaard@biostat.ku.dk  Sun Sep  5 23:29:57 1999
From: p.dalgaard@biostat.ku.dk (p.dalgaard@biostat.ku.dk)
Date: Mon, 6 Sep 1999 00:29:57 +0200 (MET DST)
Subject: [R] data frame component replacement: feature or bug? (PR#266)
Message-ID: <199909052229.AAA08170@pubhealth.ku.dk>

p.dalgaard@biostat.ku.dk writes:

> dfr[1]<-list(X1=1)
> 
> which doesn't extend dfr$X1, whereas
> 
> dfr[c(1,2)]<-list(X1=3,X2=4)
> 
> does. Splus handles both cases. 

Found, fixed, and committed for 0.65.1 (a drop=FALSE was missing where
the replication was done)

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


[R] data frame component replacement: feature or bug? (PR#266)
p.dalgaard@biostat.ku.dk