<div dir="ltr"><div dir="ltr">Hi Jon,<div><br></div><div>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.</div><div><br></div><div>Cheers,</div><div>Jiefei </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Nov 5, 2020 at 5:24 AM Jon Davidson <<a href="mailto:jondavidson47@gmail.com">jondavidson47@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi, <br><br>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!<br><br>Best, <br>Jon</div>
_______________________________________________<br>
Rcpp-devel mailing list<br>
<a href="mailto:Rcpp-devel@lists.r-forge.r-project.org" target="_blank">Rcpp-devel@lists.r-forge.r-project.org</a><br>
<a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel" rel="noreferrer" target="_blank">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel</a></blockquote></div></div>