Skip to content

about integration of a library into package creation

1 message · Duncan Murdoch

#
On 6/12/2006 11:48 AM, Nicolas Turenne wrote:
You shouldn't have .dll files in the R directory.  Normally you have
just one, built in the src directory, and then R will install it into
the libs directory.  If you want multiple .dlls, I believe you can
build them in inst/libs, and they'll be copied to libs on installation.

However, the names of your dlls match the names of R packages, which
makes me think you are trying to incorporate routines from other
packages in your code.  If that's what you are doing, this is not the
right way to do it.  You should call other packages through their R
interfaces.  There are plans to allow direct calls into the dlls, but so
far I don't think they exist.

Duncan Murdoch