Skip to content
Prev 3614 / 10988 Next

[Rcpp-devel] RInside error in mac 64 bit?

Thanks for your explanation. callbackFunction will be prefect in my case.
Just wondering can I pass an R function like below to a c++ function in a
separate cpp file (e.g., in src folder of my package)?

funx <- cfunction(signature(N = "integer" , xvec = "numeric",* fun =
"function"* ),
                  cpp, , Rcpp = TRUE, include = "using namespace Rcpp; ")


thanks

-- Ariful
On Wed, Mar 21, 2012 at 9:00 PM, Dirk Eddelbuettel <edd at debian.org> wrote:

            
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20120321/a01d60ca/attachment.html>