[R] R's documentation

2009-05-29 Thread Zheng, Xin (NIH) [C]
Sometimes I get confused with R's documentation. It seems the documents is not maintained and updated well. Anyone has similar feeling? I don't mean to offend anyone. I hope R would get better and better. But documentation is really one very important factor which could attract people coming or

Re: [R] R's documentation

2009-05-29 Thread Zheng, Xin (NIH) [C]
sorting and calculating mean of middle values. Maybe I'm too strict. It's not a really bug. Let's stop this thread. From: Kjetil Halvorsen [mailto:kjetilbrinchmannhalvor...@gmail.com] Sent: Friday, May 29, 2009 11:16 AM To: Zheng, Xin (NIH) [C] Cc: r-help@r-project.org Subject: Re: [R] R's

Re: [R] R's documentation

2009-05-29 Thread Zheng, Xin (NIH) [C]
- From: Prof Brian Ripley [mailto:rip...@stats.ox.ac.uk] Sent: Friday, May 29, 2009 12:28 PM To: Zheng, Xin (NIH) [C] Cc: r-help@r-project.org Subject: Re: [R] R's documentation Which version of R is this? From the BUGS section in NEWS for R 2.9.0 patched: o median.default() was altered

[R] how to avoid add 'X' before numeric colnames when read.table

2009-05-28 Thread Zheng, Xin (NIH) [C]
Hi all, Is there any way to keep numeric colnames as is? Any hint will be appreicated. Xin Zheng [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the

Re: [R] how to avoid add 'X' before numeric colnames when read.table

2009-05-28 Thread Zheng, Xin (NIH) [C]
To: Zheng, Xin (NIH) [C] Cc: r-help@r-project.org Subject: Re: [R] how to avoid add 'X' before numeric colnames when read.table ?read.table check.names=FALSE On Thu, May 28, 2009 at 3:25 PM, Zheng, Xin (NIH) [C] zheng...@mail.nih.govmailto:zheng...@mail.nih.gov wrote: Hi all, Is there any way to keep

Re: [R] how to avoid add 'X' before numeric colnames when read.table

2009-05-28 Thread Zheng, Xin (NIH) [C]
substring(header, 2,) works for the purpose perfectly. Xin Zheng [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

[R] why warning appears when set both 'scale' and 'breaks' meanwhile in heatmap.2 of gplots

2009-05-28 Thread Zheng, Xin (NIH) [C]
The warning I met with is attached here: Warning message: In heatmap.2(as.matrix(val.sf.ns[-1:-3]), Rowv = F, Colv = T, dendrogram = column, : Using scale=row or scale=column when breaks arespecified can produce unpredictable results.Please consider using only one or the other. What does

[R] any other fast method for median calculation

2009-04-13 Thread Zheng, Xin (NIH) [C]
Hi there, I got a data frame with more than 200k columns. How could I get median of each column fast? mapply is the fastest function I know for that, it's not yet satisfied though. It seems function median in R calculates median by sort and mean. I am wondering if there is another function

[R] any package for connecting berkeley db in R?

2009-03-20 Thread Zheng, Xin (NIH) [C]
Hi there, Is there any such package? I searched but found none. Thanks in advance. Xin Zheng [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

[R] any function for package searching?

2009-02-24 Thread Zheng, Xin (NIH) [C]
Hi there, I wanted to search some packages related with 'genetics'. I know I can do it on CRAN webpage. I'm just wondering if there's some function in R could do that. Debian apt offers one way. It would be perfect if R has some builtin function like Debian apt. Appreciate any help. Xin