From simon.urbanek at r-project.org  Fri May 24 14:59:53 2013
From: simon.urbanek at r-project.org (Simon Urbanek)
Date: Fri, 24 May 2013 08:59:53 -0400
Subject: [Rd] Standalone example to use eval in C (not eval in R)?
In-Reply-To: <CABrM6wnZRiaVnBfQCaT1z7Pn+Dh0+h0GHyrmxwnU1XOobquCSA@mail.gmail.com>
References: <CABrM6wnZRiaVnBfQCaT1z7Pn+Dh0+h0GHyrmxwnU1XOobquCSA@mail.gmail.com>
Message-ID: <D05C3226-29F9-4D8E-8A1A-7A1DACDEC387@r-project.org>


On May 24, 2013, at 6:00 AM, Peng Yu wrote:

> 'eval' is used in optim.c, but it is used along with other things. I'm
> looking for a standalone example to demonstrate the usage of eval in
> C.  Does anybody have some a simple example? Thanks.
> 

Try R-exts:
"5.11 Evaluating R expressions from C"

Cheers,
S



[Rd] Standalone example to use eval in C (not eval in R)?
Simon Urbanek