Skip to content

Identify \Sexpr call?

2 messages · Renaud Gaujoux, Duncan Murdoch

#
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
#
On 11-11-05 4:36 AM, Renaud Gaujoux wrote:
Sure:  have it check for a variable (or option or environment setting, 
or whatever) that was created in an earlier \Sexpr.

Or take your life in your hands, and look back up the call stack.

Duncan Murdoch