Re: [R] data frame component replacement: feature or bug? (PR#266)

About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [R] data frame component replacement: feature or bug? (PR#266)
p.dalgaard@biostat.ku.dk
Date: Mon 06 Sep 1999 - 08:29:57 EST


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


About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b25 : Tue 04 Jan 2000 - 14:16:08 EST