[R] Fedora 1 RPM Packages

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Apr 28 15:12:17 CEST 2004


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.

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

-- 
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 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list