Re: [Rd] Bugs due to naive copying of list elements

2013-03-12 Thread luke-tierney
Thanks for the report. Fixed in r62220 on trunk, r62221 on R-3-0-branch, and r6 on R-2-15-branch. Best, luke On Tue, 12 Mar 2013, Radford Neal wrote: Several bugs are present in R-2.15.3 and R-alpha due to naive copying of list elements. The bug below is due to naive copying in subset.c

Re: [Rd] Bugs due to naive copying of list elements

2013-03-12 Thread kevin.hendricks
> a[[2]][2] <- 9> b[[1]][1] 3 4 [[2]][1] 5 6 Kevin > From: smckin...@bccrc.ca > To: r-devel@r-project.org > Date: Tue, 12 Mar 2013 11:40:27 -0700 > CC: radf...@cs.toronto.edu > Subject: Re: [Rd] Bugs due to naive copying of list elements > > Whereas > > > a <

Re: [Rd] Bugs due to naive copying of list elements

2013-03-12 Thread Steven McKinney
roducible publication output. Steven McKinney From: r-devel-boun...@r-project.org [r-devel-boun...@r-project.org] On Behalf Of David Winsemius [dwinsem...@comcast.net] Sent: March 12, 2013 10:28 AM To: Radford Neal Cc: r-devel@r-project.org Subject: Re: [Rd] Bugs due to naive copyin

Re: [Rd] Bugs due to naive copying of list elements

2013-03-12 Thread David Winsemius
On Mar 12, 2013, at 3:59 AM, Radford Neal wrote: > Several bugs are present in R-2.15.3 and R-alpha due to > naive copying of list elements. > > The bug below is due to naive copying in subset.c (with > similar bugs for matrices and arrays): > > a<-list(c(1,2),c(3,4),c(5,6)) > b<-a[2:3] > a[[2]