[Rd] MAX_NUM_DLLS too low ?

2015-05-08 Thread Karl Forner
Hello,

My problem is that I hit the hard-coded MAX_NUM_DLLS (100) limit of the
number of loaded DLLs.
I have a number of custom packages which interface and integrate a lot of
CRAN and Bioconductor packages.

For example, on my installation:
 Rscript -e 'library(crlmm);print(length(getLoadedDLLs()))'
gives 28 loaded DLLs.

I am currently trying to work-around that by putting external packages in
Suggests: instead of Imports:, and lazy-load them, but still I am wondering
if that threshold value of 100 is still relevant nowadays, or would it be
possible to increase it.

Thanks,

Karl Forner

[[alternative HTML version deleted]]

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


[Rd] R Language Definition: Subsetting matrices with negative indices is *not* an error

2015-05-08 Thread Henrik Bengtsson
Hi,

I spotted what looks like another(*) mistake in 'R Language
Definition' on how subsetting should work.  In Section 'Indexing
matrices and arrays'
[http://cran.r-project.org/doc/manuals/r-release/R-lang.html#Indexing-matrices-and-arrays]
one can read

   "Negative indices are not allowed in indexing matrices."

but this is not true, e.g.

> x <- matrix(1:12, nrow=4)
> x
 [,1] [,2] [,3]
[1,]159
[2,]26   10
[3,]37   11
[4,]48   12

> x[c(-2,-4),]
 [,1] [,2] [,3]
[1,]159
[2,]37   11

/Henrik

(*) https://stat.ethz.ch/pipermail/r-devel/2015-May/071091.html [docs
have been fixed]

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel