Re: [Rd] RFC: Proposal to make NROW() and NCOL() slightly more general

2012-02-07 Thread Martin Maechler
> Martin Maechler > on Mon, 6 Feb 2012 15:35:36 +0100 writes: >> On Sat, Feb 4, 2012 at 10:38 AM, Martin Maechler >> wrote: >> > The help has >> > >> >> Description: >> > >> >>   'nrow' and 'ncol' return the number of rows or columns present in 'x'. >

[Rd] Using custom R_LIBS with R CMD install

2012-02-07 Thread Hadley Wickham
Hi all, Am I using the correct syntax to set a custom R_LIBS when running R CMD INSTALL from the command line? I get: R_LIBS=/Users/hadley/R-dev R CMD INSTALL aL3xa-rapport-08e68ca/ # Desktop : R_LIBS=/Users/hadley/R-dev R CMD INSTALL aL3xa-rapport-08e68ca/ # * installing to library ‘/Users/hadl

[Rd] Canonical package directory name for JAR files?

2012-02-07 Thread Roebuck,Paul L
We have an R package which needs to include a JAR file. Is there a canonical directory for it? __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Canonical package directory name for JAR files?

2012-02-07 Thread Simon Urbanek
On Feb 7, 2012, at 4:34 PM, Roebuck,Paul L wrote: > We have an R package which needs to include a JAR file. > Is there a canonical directory for it? > rJava defines "java" for that purpose (see ?.jpackage). How canonical that is may be open for debate ;) Cheers, Simon __

[Rd] capture.output() is trying to allocate 17179869182.6 Gb on my not so big data.frame

2012-02-07 Thread Hervé Pagès
Hi, This is what I get with recent R devel on a 64-bit Ubuntu laptop: > mydf <- data.frame(a=1:2080, b=1001:2040, c=letters, d=LETTERS, e=1:1040) > mydf_in_a_character_vector <- capture.output(mydf) Error in print.default(m, ..., quote = quote, right = right) : cannot allocate memory

Re: [Rd] capture.output() is trying to allocate 17179869182.6 Gb on my not so big data.frame

2012-02-07 Thread Martin Morgan
On 02/07/2012 04:08 PM, Hervé Pagès wrote: Hi, This is what I get with recent R devel on a 64-bit Ubuntu laptop: > mydf <- data.frame(a=1:2080, b=1001:2040, c=letters, d=LETTERS, e=1:1040) > mydf_in_a_character_vector <- capture.output(mydf) Error in print.default(m, ..., quote = quote, right