On 25 February 2015 at 09:26, Charles Determan Jr wrote: | I have finally solved the problem. After coming across another posting http:// | r.789695.n4.nabble.com/rtools-fstream-error-td4702713.html I discovered the | problem. I needed to include #define R_NO_REMAP at the start of my file and | then append Rf_ to any function I use from Rdefines.h. The package now | compiles without error. | | Thanks for your help Dirk, I know this was a long chain back and forth.
I am so sorry --- this approach is of course "known" (and eg explained in Writing R Extensions). It needs to be explained better on our side too. I'll draft a new paragraph for the Rcpp-FAQ and have you glance at it, ok? Glad you have it working now, and thanks for closing the loop here. Dirk -- http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org _______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel