[Rd] R as shared library

Warnes, Gregory R gregory_r_warnes at groton.pfizer.com
Wed Aug 25 23:08:02 CEST 2004


Does apache use threads?  If it does, I would recommend *not* directly
putting R into the apache server for the simple reason that R is not

You might find it simpler (and cleaner) to use the RSOAP
(http://rsoap.sf.net) interface to connect R with apache.  I originally
created RSOAP to get allow me to connect the ZOPE web application system's
web server to R.


> -----Original Message-----
> From: r-devel-bounces at stat.math.ethz.ch
> [mailto:r-devel-bounces at stat.math.ethz.ch]On Behalf Of Jeffrey Horner
> Sent: Friday, August 20, 2004 3:17 PM
> To: Byron Ellis
> Cc: r-devel at stat.math.ethz.ch
> Subject: Re: [Rd] R as shared library
> 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 at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel

LEGAL NOTICE\ Unless expressly stated otherwise, this messag...{{dropped}}

More information about the R-devel mailing list