From murdoch.duncan at gmail.com  Sat Nov  5 16:39:13 2011
From: murdoch.duncan at gmail.com (Duncan Murdoch)
Date: Sat, 05 Nov 2011 11:39:13 -0400
Subject: [Rd] Identify \Sexpr call?
In-Reply-To: <4EB4F577.6050907@cbio.uct.ac.za>
References: <4EB4F577.6050907@cbio.uct.ac.za>
Message-ID: <4EB558A1.7050403@gmail.com>

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 created in an earlier \Sexpr.

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

Duncan Murdoch



[Rd] Identify \Sexpr call?
Duncan Murdoch