Re: [Rd] R as shared library

From: Jeffrey Horner <jeff.horner_at_vanderbilt.edu>
Date: Sat 21 Aug 2004 - 05:16:58 EST

Byron Ellis wrote:
> Building the callbacks is possible. Basically, you need to construct a
> fake DllInfo object for Apache and then use R_registerRoutines to attach
> the callbacks to R as it if were a normal R package registering its
> routines.
>
> I might have a simple example of this lying around, I'll see if I can
> find it (especially since it seems I'll be needing it myself soon :-))

Yes. I thought about that, but that solution may break on future R releases and may hinder porting to other platforms outside of the UNIX family. I'm going to try Duncan's suggestion of a third dll which will install like a traditional R package.

-- 
Jeffrey Horner       Computer Systems Analyst         School of Medicine
615-322-8606         Department of Biostatistics   Vanderbilt University

______________________________________________
R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Sat Aug 21 05:21:36 2004

This archive was generated by hypermail 2.1.8 : Wed 03 Nov 2004 - 22:45:08 EST