Re: [R] c weirdness

2012-11-07 Thread William Dunlap
quot;]]) n seed 13 Bill Dunlap Spotfire, TIBCO Software wdunlap tibco.com > -Original Message- > From: William Dunlap > Sent: Wednesday, November 07, 2012 1:24 PM > To: 's...@gnu.org'; r-help@r-project.org > Subject: RE: [R] c weirdness > > Your

Re: [R] c weirdness

2012-11-07 Thread William Dunlap
TIBCO Software wdunlap tibco.com > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On > Behalf > Of Sam Steingold > Sent: Wednesday, November 07, 2012 12:53 PM > To: r-help@r-project.org > Subject: [R] c weirdness > >

Re: [R] c weirdness

2012-11-07 Thread Duncan Murdoch
On 07/11/2012 3:53 PM, Sam Steingold wrote: is there a way to avoid c() appending ".0" and ".1" to seed? Don't give it a named vector. You can use the unname() function to strip the names from tab: c("nons"=1, "seed"=unname(tab[1])) --8<---cut here---start-

[R] c weirdness

2012-11-07 Thread Sam Steingold
is there a way to avoid c() appending ".0" and ".1" to seed? --8<---cut here---start->8--- > c("nons"=1, "seed"=3) nons seed ## good! 13 > c("nons"=1, "seed"=tab[1]) nons seed.0 ## don't want ".0"! 1 2344600