[R-sig-Fedora] R 2.12.0 in Fedora Updates Testing
Paul Johnson
pauljohn32 at gmail.com
Mon Nov 8 05:33:02 CET 2010
On Sat, Nov 6, 2010 at 9:44 AM, Tom "spot" Callaway <tcallawa at redhat.com> wrote:
> ~spot
>
> _______________________________________________
Hi, Spot
This reminds me. You remember a few months ago I asked you about the
changes you make in Renviron. I tried to track down the R experts.
Nobody in R-devel spoke up with much enthusiasm, so I got discouraged
and forgot about it.
Before I forget again...
Even though nobody but me seems to care, I think it is better to do
what Ubuntu does, where Renviron has at the end
R_LIBS_USER=${R_LIBS_USER-'~/R/x86_64-pc-linux-gnu-library/2.12'}
# edd Apr 2003 Allow local install in /usr/local, also add a directory for
# Debian packaged CRAN packages, and finally the default dir
# edd Jul 2007 Now use R_LIBS_SITE, not R_LIBS
R_LIBS_SITE=${R_LIBS_SITE-'/usr/local/lib/R/site-library:/usr/lib/R/site-library:/usr/lib/R/library'
The R team itself selected that value for R_LIBS_USER. Its that way
in the R source. If I were picking, I'd probably leave off the
version number from the end.
I believe it is recommended to use R_LIBS_SITE. That way, they don't
block non root users from getting packages "automatically" installed
in their home dirs.
Oh, one more thing. What about "shared" R libraries?
In the Radmin manual, it claims that R built with shared libraries
enabled can be 20% slower. On several Redhat systems here, I've taken
your RPM and cut the shared option out of configure and I don't notice
that anything suffers as a result. I don't have any evidence it is
faster,either.
That's not a big deal to me, I have just wondered from time to time.
PJ
--
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas
More information about the R-SIG-Fedora
mailing list