[R-pkg-devel] R package does not find DLL routine

Dirk Eddelbuettel edd @end|ng |rom deb|@n@org
Sun Jun 28 20:54:37 CEST 2020


Hi Lisa,

On 28 June 2020 at 20:32, Lisa GM wrote:
| Thank you so much for your quick reply. I'm not particularly set on the
| 'inline' package especially if it's becoming outdated. I looked into using

Please report bugs or shortcomings in an issue ticket at GitHub. I am also
its maintainer and unaware of any deficiencies. Thanks.

| Rcpp but I couldn't figure out how to compile my c++ code outside of the
| package and only include the DLL. My problem is that I cannot publish the
| c++ source code with the package but I do have access to it. So I'm sorry
| to ask in case this is obvious but can I compile the above to a DLL first
| using Rcpp and then just add the compiled .dylib to the package?

There is generally somewhat limited patience on these lists for support of
code hiding and obfuscation, but methinks you are simply doing this
wrong. Create a source package. Hand your client a binary package built from
it. End of story. And still no messing with loading shared libries by hand.

Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | edd using debian.org



More information about the R-package-devel mailing list