[R-SIG-Mac] Need an appropriate way for setting rpath.

2018-02-23 Thread Wei-Chen Chen
Dear List Members, I know linking with other shared library in mac may be tricky, but I think it may save some space and worth a try. The messages below are from a CRAN check recently from " https://www.r-project.org/nosvn/R.check/r-release-osx-x86_64/JuniperKernel-00install.txt;. It obtained

Re: [R-SIG-Mac] Need an appropriate way for setting rpath.

2018-01-23 Thread Simon Urbanek
Generally, you cannot link directly to a shared library in another package. You can access *routines* in another package using the LinkingTo: API (see R-ext 5.4.3), but not a library. You can also use static libraries on another packages (see R-ext 5.8) - but never a shared library. Cheers,