Skip to content
Back to formatted view

Raw Message

Message-ID: <Pine.GSO.4.05.9904072014090.29009-100000@auk.stats>
Date: 1999-04-07T19:16:18Z
From: Brian Ripley
Subject: library
In-Reply-To: <19990407194900.12497@hal.stat.unipd.it>

On Wed, 7 Apr 1999, Guido Masarotto wrote:

> On Wed, Apr 07, 1999 at 05:16:31PM +0100, Prof Brian D Ripley wrote:
> > On Wed, 7 Apr 1999, Heberto Ghezzo wrote:
> > 
> > Sounds to me as if you need to use call_R and pass the function (not its
> > name) as an argument to .C("Setup_system", ....
> > 
> > Now, there are not many examples of call_R/call_S about.  Read the
> > appropriate section in the Blue Book rather carefully.
> 
> 
>   Not many, but one small which shows exactly this sort of things
>   is the R dynload demo. Look to demos/dynload/zero.[cR]

That _is_ the example from the Blue book: you will need to read the book
(very, very carefully in my experience) to understand the incantations in
the C source.


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._