On 11 September 2015 at 08:02, JJ Allaire wrote: | The problem is that Rcpp functions created via sourceCpp can't be serialized | (their backing shared library is gone when they are re-serialized). The | solution to this is to either: | | a) Rebuild them on the cluster nodes (i.e. just include a string with their | source and then call sourceCpp on each node); or | | b) Move your C++ functions into an R package that's available on all the nodes.
And b) is what have recommend numerous times before here and on SO. It would also be nice if Mr "Rguy" could use a real name just like everybody else. 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