Skip to content
Prev 1599 / 10988 Next

[Rcpp-devel] Got error when trying to run example in Intro vignette

On Tue, Dec 21, 2010 at 11:21 AM, Gabor Grothendieck
<ggrothendieck at gmail.com> wrote:
Hmm.  The externally-callable function is being declared twice,
perhaps due to a change in the syntax of the "body" part of
cxxfunction.

Just delete the first and last lines of the body string.  That is
start with Rcpp::NumericVector ... and end with "return xab;"