Skip to content
Prev 10615 / 10988 Next

[Rcpp-devel] Exporting rcpp-based function into parLapply workers in an R package

Hi Michael,


Thank you so much for your response. That is correct. One method for
exporting required variables/functions is using the clusterExport function,
 which does not work for Rcpp-based functions. Another option is using
clusterEvalQ (as mentioned in the shared post); however, I am not sure if
CRAN likes to see the library(package name) inside the codebase. What are
your thoughts?

Best regards,
Naeem

On Fri, May 14, 2021 at 11:57 AM Michael Weylandt <
michael.weylandt at gmail.com> wrote:

            
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20210514/e51b5e2d/attachment.html>