[R] R as a daemon?

Duncan Temple Lang duncan at research.bell-labs.com
Wed Jan 3 19:24:45 CET 2001


> Date: Wed, 3 Jan 2001 17:41:29 +0000 (GMT)
> From: Prof Brian Ripley <ripley at stats.ox.ac.uk>
> cc: kmself at ix.netcom.com, r-help mailing list <r-help at stat.math.ethz.ch>
> Sender: owner-r-help at stat.math.ethz.ch
> Precedence: bulk
> 
> On 3 Jan 2001, MJ Ray wrote:
> 
> > Prof Brian Ripley <ripley at stats.ox.ac.uk> writes:
> > 
> > > expressions.  As of 1.2.0 you can embed Unix R (you have been able to do
> > > so for ages on Windows) and that might be a neater solution.
> > 
> > How do you mean "embed"?  Sorry for naivity on this, but I've only
> > done that within Gnome so far.  Just a link would be fine.
> 
> See http://developer.r-project.org/embedded.html
> 
> NEWS says
> 
>     o   Preliminary support for building R as a shared library (`libR')
>         under Unix.  Use configure with option `--enable-R-shlib' or do
>         `make libR' in directory `src/main' to create the shared
>         library.
>         
>         There is also a linker front-end `R CMD LINK' which is useful
>         for creating executable programs linked against the R shared
>         library.
> 
> and that's about all there is.
> 
> The idea is that you can make a shared library version of R. libR.so, and
> link your application against it.  There are even some examples, but I
> don't know of a link to those.
> 

The RlibTest link in 
    http://www.omegahat.org/download/R/other/
will give you some code that Kurt H. and I used to check
all was well with the linking against libR.so and also provide
some basic examples. 

More comprehensive examples are in the different Omegahat packages
such as the RSPython, RSPerl( and more recently from the CVS tree in
the R module under Apache.)

 D.


 

> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
> Send "info", "help", or "[un]subscribe"
> (in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
> 


-- 
_______________________________________________________________

Duncan Temple Lang                duncan at research.bell-labs.com
Bell Labs, Lucent Technologies    office: (908)582-3217
700 Mountain Avenue, Room 2C-259  fax:    (908)582-3340
Murray Hill, NJ  07974-2070       
         http://cm.bell-labs.com/stat/duncan
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list