[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