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
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 nod
I find that when I attempt to export Rcpp functions to a cluster using the
R clusterExport function I get the following error (or some variant
thereof):
Error in checkForRemoteErrors(val) :
5 nodes produced errors; first error: NULL value passed as symbol address
I am running Windows 7, and the
I would like to call a template function including the expression
T::get_na() with a matrix Column as the T. The toy program below
illustrates what I am trying to do.
Various error messages are generated by the compiler with, I think, the key
one being:
column_get_na.cpp:11:2: error: 'get_na' is