[Rcpp-devel] Creating an R package using an existing .so file
Jiefei Wang
szwjf08 at gmail.com
Fri Nov 6 15:45:31 CET 2020
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 <jondavidson47 at 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 at lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20201106/06ed1d48/attachment.html>
More information about the Rcpp-devel
mailing list