[Rd] Help page on '$': 'warnPartialMatchAttr' should be 'warnPartialMatchDollar'

2012-11-15 Thread Suharto Anggono Suharto Anggono
http://stackoverflow.com/questions/6065724/assigning-value-to-a-variable-that-has-a-dot-in-the-name made me realize this. The context is 'a' is assigned to ret$log.id, but then ret$log returns "a" and ret$l also returns "a". There is a comment from Charles on the question: "Also see options(war

Re: [Rd] R-devel Digest, Vol 117, Issue 13

2012-11-15 Thread Georgi Boshnakov
Hi, > ... Wrong. It looks like internally a[[1]] is always used instead of a[[i]]. > The real problem it seems is that 'a' is treated as if it was of > ength 1: > > > mapply(function(x, y) {x * y}, a, 1:3) > [1] 101 202 303 > > mapply(function(x, y) {x * y}, a, 5) > [1] 505 > > In other wor

[Rd] Protocol for setting default number of cores

2012-11-15 Thread Udaya B. Kogalur
We recently posted randomForestSRC on CRAN. It uses OpenMP in the native code extensively. We set the default number of cores to two (2), but we typically run it at the maximum (omp_get_max_threads()) during analysis. Currently, users need to set options(), set an environment variable, or edit t