Hi Jon,

I'm not sure why publishing the C++ source along with your package is not
feasible for you. If it is because of something besides technical
difficulty, you might need to consider an alternative method. Since the R
package must be portable, your secret functions must also be portable. You
can implement your functions on some portable platforms(e.g. JAVA) and
integrate it into your package. The road would not be easy, so I strongly
recommend you to try every other possibility before doing so.

Cheers,
Jiefei

On Thu, Nov 5, 2020 at 5:24 AM Jon Davidson <jondavidso...@gmail.com> wrote:

> Hi,
>
> I have an existing Rcpp module that has already been compiled into a .so.
> How can I integrate this into an R package? The existing vignette for
> packaging an Rcpp module involves including the C++ source in the package
> folder, which will not be feasible for my setup. I can, however, have the
> compiled .so file in the folder. Thanks for your help!
>
> Best,
> Jon
> _______________________________________________
> 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
_______________________________________________
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

Reply via email to