This has been discussed before:
http://www.nabble.com/Dynamic-linking-to-binary-code-from-other-packages---td20167535.html#a20474561
Take a look at 'xts' on cran, or R-forge. Specifically:
http://r-forge.r-project.org/plugins/scmsvn/viewcvs.php/pkg/inst/api_example/README?rev=386&root=xts&view=markup
HTH
Jeff
On Wed, Aug 5, 2009 at 11:29 AM, Terry Therneau<therneau at mayo.edu>
wrote:> The package coxme depends heavily on bdsmatrix, to the point of needing
> access to some of its C calls. ?The kinship package (in progress) uses
> the R level functions in bdsmatrix, but not the C calls. ?That is, I
> don't want to always export the symbols.
>
> For testing I can use an explicit dyn.load('somepath/bsdmatrix.so',
> local=F). ?How do I incorporate such a dependency in the DESCRIPTION
> file for coxme, so that it happens in general?
>
> Terry T.
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
--
Jeffrey Ryan
jeffrey.ryan at insightalgo.com
ia: insight algorithmics
www.insightalgo.com