[Rd] Dynamic linking to binary code from other packages??
Dirk Eddelbuettel
edd at debian.org
Sat Oct 25 22:15:12 CEST 2008
On 25 October 2008 at 16:05, Charles Danko wrote:
| Dear R-devel,
|
| I am writing a package that needs some C++ functions from an external
| SDK (Affymetrix fusion). The same functions are already compiled into
| another package (affxparser).
|
| Can I dynamically link to the compiled code in affxparser, rather than
| re-compiling these separately into my package?
Yes. Working examples are lme4 using Matrix. This is documented in the 'R
Extensions' manual.
| Not a lot of experience on this subject!
I don't think it is the easiest way around. Maybe start by 'just'
recompiling and relinking.
Dirk
--
Three out of two people have difficulties with fractions.
More information about the R-devel
mailing list