[Rd] x[c()] - value sets the mode to mode(value)

2009-12-08 Thread Henrik Bengtsson
Only for the record, an unnecessary overhead when nothing is assigned: x - integer(10) str(x) int [1:10] 0 0 0 0 0 0 0 0 0 0 x[c()] - 1.0; str(x) num [1:10] 0 0 0 0 0 0 0 0 0 0 'x' could equally well have renamed untouched. /Henrik __

Re: [Rd] x[c()] - value sets the mode to mode(value)

2009-12-08 Thread William Dunlap
-Original Message- From: r-devel-boun...@r-project.org [mailto:r-devel-boun...@r-project.org] On Behalf Of Henrik Bengtsson Sent: Tuesday, December 08, 2009 5:45 PM To: R-devel Subject: [Rd] x[c()] - value sets the mode to mode(value) Only for the record, an unnecessary