From jeff.a.ryan at gmail.com  Wed Aug  5 18:54:28 2009
From: jeff.a.ryan at gmail.com (Jeff Ryan)
Date: Wed, 5 Aug 2009 11:54:28 -0500
Subject: [Rd] inheriting C symbols
In-Reply-To: <1249489752.18439.14.camel@punchbuggy>
References: <1249489752.18439.14.camel@punchbuggy>
Message-ID: <e8e755250908050954k50d85712vf8cf310a145f9360@mail.gmail.com>

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



[Rd] inheriting C symbols
Jeff Ryan