[R] Fedora 1 RPM Packages

Ian Wallace iwallace at eforceglobal.com
Wed Apr 28 17:39:58 CEST 2004


On Wed, 2004-04-28 at 07:12, Prof Brian Ripley wrote:
> I think this is appropriate for most users: if you want to use
> --enable-R-shlib you can and probably should compile R yourself.  (After
> all, you are going to need the development tools for almost all uses of
> libR.so.)  It is not a zero-cost option: it does for example cause shared
> objects in packages to be linked against libR.so not R.bin and so
> increases considerably the run-time footprint.
> 


>From the response that I have had from the list it appears that not many
people use the shared lib from R, and that it wouldn't make sense to
build it that way by default.

I'll drop trying to get this added.  If it's only a handful of us who
are using PL/R (PostgresQL procedural language) we'll have to just
recompile the source RPM.  Which is no big deal.

Thanks for the responses.  Now off to the real work of getting some data
in PostgresQL and taking a look at it!

cheers
ian



> On Tue, 27 Apr 2004, Ian Wallace wrote:
> 
> > Don't know if this is the correct place to post this question however I
> > thought I would start here.  The Fedora 1 packages are built without the
> > option '--enable-R-shlib' turned on in the R.spec file.  Other software,
> > like, plr (the postgresql library that calls R) needs the shared lib. 
> > Any chance that we can change the R.spec file to include:
> > 
> > [iwallace at localhost SPECS]$ diff -bu R.spec R.spec.orig
> > --- R.spec      2004-04-27 15:31:51.000000000 -0600
> > +++ R.spec.orig 2004-04-27 15:31:39.000000000 -0600
> > @@ -36,7 +36,6 @@
> >  %build
> >  export R_BROWSER="/usr/bin/mozilla"
> >  ( %configure \
> > -    --enable-R-shlib \
> >      --with-tcl-config=%{_libdir}/tclConfig.sh \
> >      --with-tk-config=%{_libdir}/tkConfig.sh ) \
> >   | egrep '^R is now|^ |^$' - > CAPABILITIES
> > 
> > I'm not sure if there are other issues with using the shared library,
> > I'm very new to R and just joined the mailing list.
> > 
> > Thanks!
> > ian
> > 
> > 
-- 
Ian Wallace <iwallace at eforceglobal.com>




More information about the R-help mailing list