On 24 May 2013 at 05:05, Peng Yu wrote: | > Perhaps you can try updating your Rcpp? The latest version is 0.10.3. But I | > don't know if that's the reason why sourceCpp is not in your Rcpp library. | | Yes. I have some old installation which prevent the new installation to be used.
That is your problem -- "Rcpp attributes" appeared with 0.10.0, and were extended in 0.10.1 and 0.10.2. If you are forced to use an older version, stick to using the inline package and its cxxfunction(). There is ample documentation in many places. Dirk -- Dirk Eddelbuettel | [email protected] | http://dirk.eddelbuettel.com _______________________________________________ Rcpp-devel mailing list [email protected] https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
