[Rcpp-devel] Array into C++ with cppFunction

Nick Menzies nick.menzies at gmail.com
Tue Feb 11 17:49:51 CET 2014


Hi guys,

Is there a way to pass an array into c++ when using cppFunction?  I realize
arrays have been discussed a number of times, but the solutions I have
found (e.g.
http://markovjumps.blogspot.com/2011/12/r-array-to-rcpparmadillo-cube.html,
or
https://www.mail-archive.com/rcpp-devel@lists.r-forge.r-project.org/msg05897.html)
are described in the context of cxxfunction, and I haven't been able to
work how to implement this with cppFunction.

Thanks for your help - Nick

-- 

Nick Menzies
nick.menzies at gmail.com
404 217 1076
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20140211/341c7b6e/attachment.html>


More information about the Rcpp-devel mailing list