[R] Newbie: Formatting numbers with commas

2008-09-22 Thread Matthew Pettis
Hi, Search through the R archives, and couldn't find my answer... how do you format numbers with commas (standard American, one every three digits)? Thanks, Matt -- It is from the wellspring of our despair and the places that we are broken that we come to repair the world. -- Murray Waas _

Re: [R] Newbie: Formatting numbers with commas

2008-09-22 Thread Henrik Bengtsson
x <- c(123023,143494035); > format(x, big.mark=","); [1] "123,023" "143,494,035" > format(x, big.mark=",", trim=TRUE); [1] "123,023" "143,494,035" See also ?prettyNum (and formatC). /Henrik On Mon, Sep 22, 2008 at 9:23 PM, Matthew Pettis <[EMAIL PROTECTED]> wrote: > Hi, > > Search throug

Re: [R] Create groups from data to compute lm?

2008-09-22 Thread Michael Just
Hello again, After getting some help from a reader of this board my issue has been resolved. To group I will now use something like this: sub.all <- subset(all, ex_bin==250, select= c(pfor, ED, PD)) before I perform any further analysis, such as lm. Thanks, M Just Hello, B

Re: [R] R-2.7.2 infected?

2008-09-22 Thread Dave DeBarr
> Did you check the md5 checksum on it? Yes; it matched: 540090dd892657804d1099c54d6f770d > You're the first to report it, and 2.7.2 has been out for almost a month, so > I think it's likely that the CRAN copy is uninfected. Sounds promising. Perhaps it's a false positive from eTrust. > If

Re: [R] R-2.7.2 infected?

2008-09-22 Thread Peter Dalgaard
Dave DeBarr wrote: Did you check the md5 checksum on it? Yes; it matched: 540090dd892657804d1099c54d6f770d And it is binary identical to the Austria CRAN one. You're the first to report it, and 2.7.2 has been out for almost a month, so I think it's likely that the CRAN copy is un

Re: [R] Manage huge database

2008-09-22 Thread José E. Lozano
Hello: I've been reading all the replies, and I think I have some good ideas to work on. Right now the code I programmed is running, It has been running in a batch process 20h now, and It has imported 1750 rows out of 2000. I will read docs for the bioconductor package, and I will check the gawk

<    1   2