From jeff.horner at vanderbilt.edu  Fri Aug 20 21:16:58 2004
From: jeff.horner at vanderbilt.edu (Jeffrey Horner)
Date: Fri Aug 20 21:17:18 2004
Subject: [Rd] R as shared library
In-Reply-To: <A12266EC-F2D6-11D8-8CA1-000D93C24D64@hsph.harvard.edu>
References: <41238D24.3020108@vanderbilt.edu>
	<A12266EC-F2D6-11D8-8CA1-000D93C24D64@hsph.harvard.edu>
Message-ID: <41264E2A.1020201@vanderbilt.edu>

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


[Rd] R as shared library
Jeffrey Horner