[Rd] Identify \Sexpr call?

2011-11-05 Thread Renaud Gaujoux
More or less in the same vein as Henrik's post, is it possible to detect that a function is being called in an \Sexpr when generating an Rd file? Thank you -- Renaud Gaujoux Computational Biology - University of Cape Town South Africa __

Re: [Rd] Identify \Sexpr call?

2011-11-05 Thread Duncan Murdoch
On 11-11-05 4:36 AM, Renaud Gaujoux wrote: More or less in the same vein as Henrik's post, is it possible to detect that a function is being called in an \Sexpr when generating an Rd file? Thank you Sure: have it check for a variable (or option or environment setting, or whatever) that was

Re: [Rd] Efficiency of factor objects

2011-11-05 Thread Patrick Burns
Perhaps 'data.table' would be a package on CRAN that would be acceptable. On 05/11/2011 16:45, Jeffrey Ryan wrote: Or better still, extend R via the mechanisms in place. Something akin to a fast factor package. Any change to R causes downstream issues in (hundreds of?) millions of lines of

[Rd] How to infer default width and height for a device?

2011-11-05 Thread Henrik Bengtsson
Hi. GENERAL: Is there a general method for inferring default device settings, particularly 'width' and 'height', that works for all devices? AFAIK, the answer is no, but there might be functions out there that I don't know of. POSTSCRIPT SPECIFIC: If not, I'm considering implementing such a