[R] problem driving R from Python

Prof Brian Ripley ripley at stats.ox.ac.uk
Thu Jan 24 12:26:22 CET 2002


On Thu, 24 Jan 2002 mikalzet at libero.it wrote:

> On Thu, 24 Jan 2002, Duncan Temple Lang wrote:
>
> > A quick guess would be that R was not built as a shared library.
> > Specifically, does the file $R_HOME/bin/libR.so exist?
> > If not, you can rebuild R with
> >
> >   cd $R_HOME
> >   ./configure  --enable-R-shlib
> >   make
> >
> > and then re-install RSPython.
>
> That's it. That means also that all Mandrake and probably Red-Hat rpm's do
> not build R as a shared library.
>
> I think it might be a good idea to change the spec file to allow for that
> - so at least this could be corrected for R 1.4.1

If you do, you need to arrange to run the tests which show that it worked.
They are in tests/Embedding and not run by make check.

Also, this sets up all packages to be linked against libR.so, which may
not be desirable for the average user.

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



More information about the R-help mailing list