= R = == Description == R is a language and environment for statistical computing and graphics. It is a GNU project which is similar to the S language and environment which was developed at Bell Laboratories (formerly AT&T, now Lucent Technologies) by John Chambers and colleagues. R can be considered as a different implementation of S. There are some important differences, but much code written for S runs unaltered under R. (taken from http://www.r-project.org/) == License == * GPL v2 or GPL v3 == SPKG Maintainers == * Jason Grout * William Stein == Upstream Contact == * R mailing list, #R in IRC == Dependencies == * GNU patch * iconv * Readline * ATLAS == Special Update/Build Instructions == === Patches === * configure.patch: Use -### instead of -v to detect linker options. See Sage ticket #12787 and upstream ticket https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14865 The corresponding patch to m4/clibs.m4 is not included, as autoconf-2.68 gives errors, even on the clean upstream sources. * R.sh.in: Set R_HOME_DIR to "${SAGE_LOCAL}/lib/R/" when running R. * scripts.Makefile.in.patch: the file src/src/scripts/R.sh.in defines R_SHARE_DIR, R_INCLUDE_DIR, and R_DOC_DIR relative to R_HOME_DIR, but scripts/Makefile.in hardcodes these locations. This patch removes this hardcoding. See Sage trac #9668. * libintl-visibility.patch: fix visibility of symbols for optional libintl library. == Changelog == === r-3.0.2.p0 (Jean-Pierre Flori, 30 October 2013) === * #14706: update to 3.0.2. * Remove sqrtl.patch which is now upstream. * Move old install of R on OS X. * Fix visibility of symbols for built-in libintl. === r-3.0.1.p1 (Jean-Pierre Flori, 10 June 2013) === * #14706: Use --disable-long-double on Cygwin rather than patching. * Add sqrtl.patch from upstream to make --disable-long-double work. === r-3.0.1.p0 (Emmanuel Charpentier, 8 June 2013) === * #14706: Drop-in replacement of upstream sources. === r-2.15.2.p2 (John H. Palmieri, 17 March 2013) === * #9668: fix hardcoding of paths in R by defining R_SHARE_DIR, R_INCLUDE_DIR, and R_DOC_DIR relative to R_HOME_DIR, or rather, by removing the portion of scripts/Makefile.in which hardcodes these paths. === r-2.15.2.p1 (Jean-Pierre Flori, 7 February 2013) === * #14078: do not use logl on Cygwin. === r-2.15.2.p0 (Emmanuel Charpentier, 25 January 2013) === * "monkey see-monkey do" upgrade to current upstream * simple drop of curent source in src * removed patches/install_parallel.patch : patch complained about a "reversed (or previously applied) patch detected!". * re-enables installation of upstream source packages (ticket #14008). === r-2.14.0.p6 (Jeroen Demeyer, 10 September 2012) === * #13443: some clean up of spkg-install. * Compile R with optimization (at -O2 level). * No longer pass -I and -L options to gcc (see #13348). * No longer use sage_fortran (see #13349). * Re-enable parallel make install, which works now (see #13428). === r-2.14.0.p5 (Jeroen Demeyer, 4 September 2012) === * #9906: separate the rpy2 spkg. === r-2.14.0.p4 (Jeroen Demeyer, 4 September 2012) === * #13428: add patch install_parallel.patch === r-2.14.0.p3 (Jeroen Demeyer, 30 March 2012) === * #12787: use -### instead of -v to detect linker options * Don't export OSXFW in spkg-install * Remove "export MAKE=make" and "export MAKEFLAGS=". Instead, install with -j1. * Removed the fix_hardcode Python script, found simpler work-around using environment variable SAGE_BUILDING_R set in spkg-install. * Use `patch` for patching. === r-2.14.0.p2 (John H. Palmieri, 17 Dec 2011) === * #12172: unconditionally disable X11 support on Darwin === r-2.14.0.p1 (Simon King, 10 Dec 2011) === * #12131: use --libdir, to make the package work on openSUSE === r-2.14.0.p0 (Volker Braun, 19th November 2011) === * #12057: upgrade to new upstream version === r-2.10.1.p4 (Leif Leonhardy, September 25th 2010) === * #10016: Don't call "sage -f" on the included Rpy spkg, instead call "sage-spkg -f" directly, since only this is guaranteed to be present. This is just a temporary solution, until the Rpy spkg is removed from this one. === r-2.10.1.p3 (Mariah Lenox, 30 Jun 2010) === * added "--with-ICU=no" to configure line of spkg-install (#9396) === r-2.10.1.p2 (Mitesh Patel, June 8th 2010) === * #9186: Set an empty MAKEFLAGS variable before "make install". On OS X, at least, this fixes building multiple spkgs in parallel (cf. #8306). === r-2.10.1.p1 (Karl-Dieter Crisman, April 12th 2010) === * Re-enable Aqua support on OSX === r-2.10.1.p0 (David Kirkby, February 16th 2010) === * Several items all covered by #8285 * Added the undocumented option "--without-ICU" on Solaris, as that allows R to build - otherwise it fails. I suspect the ideal solution would be to add the ICU library from http://site.icu-project.org/ but this option does allow R to build. * Ensure SAGE64 will add the -m64 option on any platform, not just OS X as before. * Removed all references to the option --with-iconv=no, as R needs iconv now - it is no longer optional - see http://trac.sagemath.org/sage_trac/ticket/8191 * Implement a test for X on Solaris, as the previous test in spkg-install would always fail on Solaris, as Solaris lacks the header file checked for, despite the fact X support works fine. So now I check for a library on Solaris. === r-2.10.1 (Karl-Dieter Crisman, January 15, 2010) === * Readline import issue is now fixed in R * Re-enable recommended packages * Upgrade rpy2 to 2.0.8 * FreeBSD support improved (patch by Peter Jeremy) === r-2.9.2 (Jason Grout, Sept 20, 2009) === * Also disable aqua support on 64 bit OSX === r-2.6.1.p22 (Michael Abshoff, January 20th, 2009) === * Also disable aqua support on 64 bit OSX === r-2.6.1.p21 (Michael Abshoff, October 12th, 2008) === * work around java infinite hang issue on OSX 10.5 (#4219) === r-2.6.1.p20 (Michael Abshoff, September 30th, 2008) === * set CPPFLAGS so that Sage's readline is picked up === r-2.6.1.p19 (Michael Abshoff, September 1st, 2008) === * Disabled libiconv support on Solaris === r-2.6.1.p18 (Michael Abshoff, August 30th, 2008) === * also disable aqua support on 32 bit Darwin === r-2.6.1.p17 (Michael Abshoff, May 29th, 2008) === * Use rpy-1.0.1.p2 === r-2.6.1.p16 (Michael Abshoff, May 28th, 2008) === * add 64 bit OSX build support (#3196) === r-2.6.1.p15 (Josh Kantor, April 12th, 2008) === * make R help work (#2483) === r-2.6.1.p14 (Michael Abshoff, Jan. 27th, 2008) === * fix rpy build issue on OSX 10.4 (#1943) === r-2.6.1.p13 (Michael Abshoff, Jan. 26th, 2008) === * remove ATLAS and Lapack flags form configure for Darwin === r-2.6.1.p12 (Michael Abshoff, Jan. 26th, 2008) === * also delete all dylibs on OSX * added SAGE_LOCAL check to spkg-check, spkg-install * verify that rpy builds fine on OSX * remove tar.gzs from recommended directory === r-2.6.1.p11 (Michael Abshoff, Jan. 26th, 2008) === * fix rpy to work with ATLAS * fix parallel make since make install is broken with it. * remove various R libraries from SAGE_LOCAL/lib === r-2.6.1.p10 (Michael Abshoff, Jan. 25th, 2008) === * fix framework issue on OSX * flesh out SPKG.txt === r-2.6.1.p9 (Michael Abshoff, Jan. 25th, 2008) === * fix a shitload of build problems (#1852) * add ATLAS support * clean up, clean up, clean up === r-2.6.1.p8 (Michael Abshoff, Jan. 17th. 2008) === * bump version due to python now built with ucs4 === r-2.6.1.p7 === * Updated the rpy package using trac #1427