Re: [Rd] combining large list of data.frames

2012-04-20 Thread Patrick Aboyoun
Cole, Bioconductor's high throughput sequencing infrastructure package IRanges contains code that may be useful for speeding up base::rbind.data.frame. I've extracted the salient bits from that rbind method, but left the corner case handling code out. IRanges's rbind method took the approach of

[Rd] R CMD check: Sys.getenv("R_GSCMD") cannot contain full pathname (contrary to docs)

2012-04-20 Thread Henrik Bengtsson
Hi, in help("R_GSCMD") it says "R_GSCMD: Optional. The path to Ghostscript, used by dev2bitmap, bitmap and embedFonts. Consulted when those functions are invoked.". However, if 'R_GSCMD' contains a full pathname to the Ghostscript executable (as above "path" indicates), e.g. > Sys.getenv("R_GSCM

Re: [Rd] Using 'dimname names' in aperm() and apply()

2012-04-20 Thread ghostwheel
I'm replying here to quite an old thread started by me. I think the dimnames facility is underused in R. I'm currently using a 5-dimensional array. It is quite cumbersome to have to write y["0"] Since the array does have dimnames, I would like to be able to say instead y[tree="0"] Below is

Re: [Rd] C - R integration: Memory Issues

2012-04-20 Thread Simon Urbanek
On Apr 20, 2012, at 5:06 AM, Nikolaos Bezirgiannidis wrote: > On Thu, 19 Apr 2012 07:21:12 -0500, Dirk Eddelbuettel wrote: >> On 18 April 2012 at 17:40, Nikolaos Bezirgiannidis wrote: >> | Hi all, >> | >> | I am a PhD student and I am working on a C project that involves some >> | statistical

Re: [Rd] C - R integration: Memory Issues

2012-04-20 Thread Nikolaos Bezirgiannidis
On Thu, 19 Apr 2012 07:21:12 -0500, Dirk Eddelbuettel wrote: On 18 April 2012 at 17:40, Nikolaos Bezirgiannidis wrote: | Hi all, | | I am a PhD student and I am working on a C project that involves some | statistical calculations. So, I tried to embed R into C, in order to | call R function