[Rcpp-devel] Another rcpp package for examples
Dirk Eddelbuettel
edd at debian.org
Thu May 24 20:57:59 CEST 2012
On 24 May 2012 at 15:58, Peter deVoil wrote:
| > | particular nastiness involved on windows platforms as the model is
| > | built with MSVC, yet calls GCC code (ie Rcpp) via extern "C".
| >
| > This comes up every now and then, and folks would surely love to see a good
| > tutorial and walk-through.
|
| I'll have a go at it. Don't know how I'll go with the "good" part though.
Great.
| I used the windows dlsym() equivalent to call in to a handful of entry
| points. Given that this forces you to use C datatypes, you get none of
| the C++ operators that make Rcpp so useful - but in my case, the data
| exchange is fairly coarse and predictable.
Oh, so it is
a) really limited to atomistic C types just like the old .C() interface
b) also highly non-portable as it will work only on that one platform.
Still, some people will want to try it regardless so it would be nice to have
some more documentation.
Dirk
--
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com
More information about the Rcpp-devel
mailing list