Commit 8cd16c68 authored by Radford Neal's avatar Radford Neal

Files from R-2.13.1.

parent 2f892f8c
......@@ -20,7 +20,7 @@ DISTFILES = $(INSTFILES) \
SUBDIRS = m4 tools doc etc share src tests @USE_NLS_TRUE@ po
SUBDIRS_WITH_NO_BUILD = @USE_NLS_FALSE@ po
all: Makefile Makeconf R docs recommended
all: Makefile Makeconf R docs recommended svn-vignettes
recommended: @USE_RECOMMENDED_PACKAGES_TRUE@ stamp-recommended
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
......@@ -75,6 +75,12 @@ stamp-recommended: R docs
vignettes: stamp-recommended
@(cd src/library && $(MAKE) $@)
## One of the grid vignettes requires lattice
svn-vignettes: stamp-recommended
-@if test -f "non-tarball"; then \
(cd src/library && $(MAKE) vignettes); \
fi
install install-strip: installdirs svnonly
@for d in $(SUBDIRS); do \
(cd $${d} && $(MAKE) $@) || exit 1; \
......
This diff is collapsed.
No preview for this file type
Revision: 55427
Last Changed Date: 2011-04-13
Revision: 56322
Last Changed Date: 2011-07-08
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.65 for R 2.13.0.
# Generated by GNU Autoconf 2.65 for R 2.13.1.
#
# Report bugs to <r-bugs@R-project.org>.
#
......@@ -701,8 +701,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='R'
PACKAGE_TARNAME='R'
PACKAGE_VERSION='2.13.0'
PACKAGE_STRING='R 2.13.0'
PACKAGE_VERSION='2.13.1'
PACKAGE_STRING='R 2.13.1'
PACKAGE_BUGREPORT='r-bugs@R-project.org'
PACKAGE_URL=''
......@@ -1733,7 +1733,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures R 2.13.0 to adapt to many kinds of systems.
\`configure' configures R 2.13.1 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
......@@ -1808,7 +1808,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of R 2.13.0:";;
short | recursive ) echo "Configuration of R 2.13.1:";;
esac
cat <<\_ACEOF
......@@ -1869,7 +1869,7 @@ Optional Packages:
(0/1/2) [0]
--with-recommended-packages
use/install recommended R packages [yes]
--with-ICU use ICU library [yes]
--with-ICU use ICU library (if available) [yes]
--with-pic try to use only PIC/non-PIC objects [default=use
both]
--with-x use the X Window System
......@@ -2022,7 +2022,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
R configure 2.13.0
R configure 2.13.1
generated by GNU Autoconf 2.65
Copyright (C) 2009 Free Software Foundation, Inc.
......@@ -3037,7 +3037,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by R $as_me 2.13.0, which was
It was created by R $as_me 2.13.1, which was
generated by GNU Autoconf 2.65. Invocation command line was
$ $0 $@
......@@ -3934,7 +3934,7 @@ else
fi
## Cairo etc
## cairographics etc
# Check whether --with-cairo was given.
if test "${with_cairo+set}" = set; then :
......@@ -5482,9 +5482,9 @@ fi
## Cairo needs pkg-config
# Extract the first word of "pkg-config", so it can be a program name with args.
set dummy pkg-config; ac_word=$2
## cairographics needs pkg-config
# Extract the first word of "pkg-config ", so it can be a program name with args.
set dummy pkg-config ; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_path_PKGCONF+set}" = set; then :
......@@ -27303,7 +27303,7 @@ _ACEOF
fi
done
## realpath is a POSIX 2001 (and BSD)
## realpath is POSIX 2001 (and BSD)
## Some early GNU libc systems had it in unistd.h.
for ac_func in realpath
do :
......@@ -30227,8 +30227,14 @@ else
int main () {
UErrorCode status = U_ZERO_ERROR;
UCollator *collator;
UCharIterator aIter;
collator = ucol_open(NULL, &status);
if (U_FAILURE(status)) exit(1);
/* check if ICU is complete enough */
uiter_setUTF8(&aIter, "abc", 3);
int result = ucol_strcollIter(collator, &aIter, &aIter, &status);
if (U_FAILURE(status)) exit(1);
exit(0);
}
......@@ -35380,11 +35386,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:35383: $lt_compile\"" >&5)
(eval echo "\"\$as_me:35389: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:35387: \$? = $ac_status" >&5
echo "$as_me:35393: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
......@@ -35479,11 +35485,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:35482: $lt_compile\"" >&5)
(eval echo "\"\$as_me:35488: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
echo "$as_me:35486: \$? = $ac_status" >&5
echo "$as_me:35492: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
......@@ -35531,11 +35537,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:35534: $lt_compile\"" >&5)
(eval echo "\"\$as_me:35540: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
echo "$as_me:35538: \$? = $ac_status" >&5
echo "$as_me:35544: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
......@@ -42739,7 +42745,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by R $as_me 2.13.0, which was
This file was extended by R $as_me 2.13.1, which was
generated by GNU Autoconf 2.65. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
......@@ -42805,7 +42811,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
R config.status 2.13.0
R config.status 2.13.1
configured by $0, generated by GNU Autoconf 2.65,
with options \\"\$ac_cs_config\\"
......@@ -373,7 +373,7 @@ AC_ARG_WITH([tk-config],
[TK_CONFIG="${withval}"],
[TK_CONFIG=""])
## Cairo etc
## cairographics etc
AC_ARG_WITH([cairo],
[AS_HELP_STRING([--with-cairo],[use cairo (and pango) if available @<:@yes@:>@])],
[if test "${withval}" = no; then
......@@ -432,7 +432,7 @@ AC_ARG_WITH([recommended-packages],
## ICU
AC_ARG_WITH([ICU],
[AS_HELP_STRING([--with-ICU],[use ICU library @<:@yes@:>@])],
[AS_HELP_STRING([--with-ICU],[use ICU library (if available) @<:@yes@:>@])],
[R_ARG_USE(ICU)],
[use_ICU=yes])
......@@ -583,8 +583,9 @@ R_PROG_PDFVIEWER
## Noweb
AC_PATH_PROG(NOTANGLE, notangle, false)
## Cairo needs pkg-config
AC_PATH_PROG(PKGCONF,pkg-config,[],[$PATH:/usr/local/bin:/ext/bin:/ext:/sw/bin:/opt/bin])
## cairographics needs pkg-config
AC_PATH_PROG(PKGCONF, pkg-config , [],
[$PATH:/usr/local/bin:/ext/bin:/ext:/sw/bin:/opt/bin])
AC_PROG_CC
......@@ -1763,7 +1764,7 @@ AC_CHECK_FUNCS(vasprintf)
AC_CHECK_DECLS([vasprintf], , , [#include <stdio.h>])
## mempcpy is a GNU extension used by the included gettext. Not on Solaris
AC_CHECK_FUNCS(mempcpy)
## realpath is a POSIX 2001 (and BSD)
## realpath is POSIX 2001 (and BSD)
## Some early GNU libc systems had it in unistd.h.
AC_CHECK_FUNCS(realpath)
AC_CHECK_DECLS([realpath], , , [#include <stdlib.h>
......
This diff is collapsed.
......@@ -5,11 +5,11 @@ The bulk of this code is copyright by members of or all of the R
Development Core Team.
See the file COPYING for the exact conditions under which you may
redistribute it. R as a whole is distributed under GPL version 2:
most source files contain a copyright statement allowing use of that
file under GPL version 2 or later: the main exceptions are the
currently included versions of packages 'rpart' (GPL-2 only), 'MASS',
'class', 'nnet' and 'spatial' (GPL-2 or GPL-3).
redistribute it. R as a whole is distributed under GPL version 2 or
3: most source files contain a copyright statement allowing use of
that file under GPL version 2 or later: the main exceptions are the
included versions of packages 'MASS', 'class', 'nnet', 'rpart' and
'spatial' (GPL-2 or GPL-3).
The status of files used only in the Windows port is in file
src/gnuwin32/COPYRIGHTS.win, which is appended to this file in binary
......@@ -20,9 +20,10 @@ the copyright notice (that in the file or this notice) is preserved.
---------------------------------------------------
Some of the public header files are distributed under the more
permissive terms of the file COPYING.LIB. This applies only to the
files
Some (but not all) of the public header files are distributed under
the more permissive terms of version 2.1 or later of the LGPL: see
files R_HOME/share/licenses/LGPL-2.1 and R_HOME/share/licenses/LGPL-3.
This applies only to the header files
src/include/R.h
src/include/Rdefines.h
......@@ -32,6 +33,9 @@ src/include/Rmath.h
src/include/S.h
src/include/R_ext/*.h
Note that it does not apply to the header files such as Rembedded.h
and Rinterface.h used for third-party front ends.
From the announcement of the change (2001-Feb-05)
It came to our attention that some projects are interpreting GPL to
......@@ -54,7 +58,6 @@ From the announcement of the change (2001-Feb-05)
As from R 2.3.0 import libraries are no longer used under Windows, and
as from R 2.4.0 fewer export files are used under AIX.
Some contributed files are also covered by the Library General Public License.
These include (see also below)
......@@ -296,6 +299,11 @@ src/extra/zlib/README, *.c, *.h
Taken from zlib-1.2.3 (C) 1995-2005 Jean-loup Gailly and Mark Adler
See src/extra/zlib/README for the licence.
src/main/connections.c
Contains code derived from the zlib 1.2.3 distribution
(C) 1995-2005 Jean-loup Gailly and Mark Adler
src/main/dounzip.c, unzip.h
......
Name,Country,City,URL,Host,Maintainer,OK,CountryCode
Australia,Australia,Melbourne,http://cran.ms.unimelb.edu.au/,"University of Melbourne","cran # ms.unimelb.edu.au",1,au
"Argentina (La Plata)",Argentina,"La Plata",http://mirror.fcaglp.unlp.edu.ar/CRAN/,"Universidad Nacional de La Plata","esuarez # Fcaglp.unlp.edu.ar",1,ar
"Argentina (Mendoza)",Argentina,Mendoza,http://r.mirror.mendoza-conicet.gob.ar/,"CONICET Mendoza","pcastorino # Mendoza-conicet.gob.ar",1,ar
"Australia (Canberra)",Australia,Canberra,http://cran.csiro.au/,CSIRO,"Bill.Venables # CSIRO.au, ServiceDesk2 # CSIRO.au",1,au
"Australia (Melbourne)",Australia,Melbourne,http://cran.ms.unimelb.edu.au/,"University of Melbourne","cran # ms.unimelb.edu.au",1,au
Austria,Austria,Wien,http://cran.at.r-project.org/,"Wirtschaftsuniversitaet Wien","CRAN # R-project.org",1,at
Belgium,Belgium,Antwerp,http://www.freestatistics.org/cran/,"K.U.Leuven Association","patrick # wessa.net",1,be
"Brazil (PR)",Brazil,Curitiba,http://cran-r.c3sl.ufpr.br/,"Universidade Federal do Parana","Paulo J. Ribeiro Jr <paulojus # est.ufpr.br>",1,br
......@@ -14,20 +17,21 @@ Belgium,Belgium,Antwerp,http://www.freestatistics.org/cran/,"K.U.Leuven Associat
Chile,Chile,Santiago,http://dirichlet.mat.puc.cl/,"Pontificia Universidad Catolica de Chile, Santiago","Fernando Quintana <quintana # mat.puc.cl>",1,cl
"China (Beijing 1)",China,Bejing,http://ftp.ctex.org/mirrors/CRAN/,CTEX.ORG,"Aloft Wu <aloft # ctex.org>",1,cn
"China (Beijing 2)",China,Bejing,http://cran.csdb.cn/,"Computer Network Information Center, CAS, Beijing","Hull # cnic.cn",1,cn
"China (Hefei)",China,Hefei,http://mirrors.ustc.edu.cn/CRAN/,"University of Science and Technology of China","mirrors # Ustc.edu.cn",1,cn
"China (Hong Kong)",China,"Hong Kong",http://mirrors.geoexpat.com/cran/,GeoExpat.Com,"shri # geoexpat.com",1,cn
"China (Xiamen)",China,Xiamen,http://mirrors.xmu.edu.cn/CRAN/,"Xiamen University","admin # Xdmc.org",1,cn
Colombia,Colombia,Bogota,http://www.laqee.unal.edu.co/CRAN/,"National University of Colombia","Ernesto Parra Rincon <eparrar # unal.edu.co>",1,co
"Colombia (Bogota)",Colombia,Bogota,http://www.laqee.unal.edu.co/CRAN/,"National University of Colombia","Ernesto Parra Rincon <eparrar # unal.edu.co>",1,co
"Colombia (Cali)",Colombia,Cali,http://cran.icesi.edu.co/CRAN/,"Icesi University","adminred # Icesi.edu.co",1,co
Denmark,Denmark,Aalborg,http://mirrors.dotsrc.org/cran/,"dotsrc.org, Aalborg","mirror # dotsrc.org",1,dk
"France (Toulouse)",France,Toulouse,http://cran.cict.fr/,"CICT, Toulouse","David Allouche <allouche # tlse.toulouse.inra.fr>",1,fr
"France (Lyon 1)",France,Lyon,http://cran.univ-lyon1.fr/,"Dept. of Biometry & Evol. Biology, University of Lyon","Jean Thioulouse <Jean.Thioulouse # univ-lyon1.fr>",1,fr
"France (Lyon 2)",France,Lyon,http://mirror.ibcp.fr/pub/CRAN/,"CNRS IBCP, Lyon","alexis.michon # ibcp.fr",1,fr
"Germany (Berlin)",Germany,Berlin,http://mirrors.softliste.de/cran/,"Softliste.de, Berlin","docko # docko.sk",1,de
"Germany (Goettingen)",Germany,Goettingen,http://ftp5.gwdg.de/pub/misc/cran/,"GWDG Goettingen","Eberhard Moenkeberg <emoenke # gwdg.de>",1,de
"Germany (Hamburg)",Germany,Hamburg,http://artfiles.org/cran/,"Artfiles New Media, Hamburg","mirror # artfiles.org",1,de
"Germany (Muenchen)",Germany,Muenchen,http://cran.rakanu.com/,"Rakanu.com, Muenchen","Carsten Zedler <info # rakanu.com>",1,de
"Germany (Nuernberg)",Germany,Nuernberg,http://cran.myamplifiers.com/,"Hetzner Online AG, Nuernberg","nikrans # Gmail.com",1,de
"Germany (Wiesbaden)",Germany,Wiesbaden,http://ftp.yalwa.org/cran/,"Yalwa GmbH, Wiesbaden","webmaster # yalwa.com",1,de
Greece,Greece,Crete,http://cran.cc.uoc.gr/,"University of Crete","mirrors # Cc.uoc.gr",1,gr
Indonesia,Indonesia,Jakarta,http://cran.cermin.lipi.go.id/,"Indonesian Institute of Sciences","mirror # Teori.fisika.lipi.go.id",1,id
Iran,Iran,Mashhad,http://cran.um.ac.ir/,"Ferdowsi University of Mashhad","Majid Sarmad <sarmad # um.ac.ir>",1,ir
Ireland,Ireland,Dublin,http://ftp.heanet.ie/mirrors/cran.r-project.org/,"HEAnet, Dublin","Brian McArdle <brian.mcardle # heanet.ie>",1,ie
"Italy (Milano)",Italy,Milano,http://rm.mirror.garr.it/mirrors/CRAN/,"Garr Mirror, Milano","mirror-service # garr.it",1,it
......@@ -45,7 +49,6 @@ Philippines,Philippines,"Quezon City",http://cran.stat.upd.edu.ph/,"University o
"Poland (Gdansk)",Poland,Gdansk,http://cran.privatejetscharter.net/,"Privatejetscharter.net, Gdansk","info # Privatejetscharter.net",1,pl
"Poland (Oswiecim)",Poland,Oswiecim,http://piotrkosoft.net/pub/mirrors/CRAN/,"Piotrkosoft - Data Storage Center","Piotr Maluty <piotr.maluty # gmail.com>",1,pl
"Poland (Wroclaw)",Poland,Wroclaw,http://r.meteo.uni.wroc.pl/,"University of Wroclaw","Paweł Netzel <netzel # meteo.uni.wroc.pl>",1,pl
Portugal,Portugal,Porto,http://neacm.fe.up.pt/CRAN/,"Universidade do Porto","neacm # fe.up.pt",1,pt
Russia,Russia,Moscow,http://cran.gis-lab.info/,GIS-Lab.info,"sim # gis-lab.info",1,ru
Singapore,Singapore,Singapore,http://cran.stat.nus.edu.sg/,"National University of Singapore","Zhang Rong <ccezr # nus.edu.sg>",1,sg
"Slovakia 1",Slovakia,Bratislava,http://cran.fyxm.net/,"FYXM.net, Bratislava","docko # docko.sk",1,sk
......@@ -57,8 +60,7 @@ Switzerland,Switzerland,Zuerich,http://stat.ethz.ch/CRAN/,"ETH Zuerich","Martin.
"Taiwan (Taichung)",Taiwan,Taichung,http://cran.cs.pu.edu.tw/,"Providence University, Taichung","hcchang # cs.pu.edu.tw",1,tw
"Taiwan (Taipei 1)",Taiwan,Taipei,http://cran.csie.ntu.edu.tw/,"National Taiwan University, Taipei","Rong-En Fan <rafan # infor.org>",1,tw
"Taiwan (Taipei 2)",Taiwan,Taipei,http://cran.stat.tku.edu.tw/,"Tamkang University, Taipei","steve # stat.tku.edu.tw",1,tw
"Thailand (Bangkog)",Thailand,Bangkok,http://www.mirror.in.th/osarchive/CRAN/,"Software Industry Promotion Agency,  Bangkok","iempairote # Buu.ac.th",0,th
"Thailand (Hatyai)",Thailand,Hatyai,http://mirrors.psu.ac.th/pub/cran/,"Prince of Songkla University, Hatyai","wipat.s # psu.ac.th",1,th
Thailand,Thailand,Hatyai,http://mirrors.psu.ac.th/pub/cran/,"Prince of Songkla University, Hatyai","wipat.s # psu.ac.th",1,th
"UK (Bristol)",UK,Bristol,http://www.stats.bris.ac.uk/R/,"University of Bristol","Guy Nason <G.P.Nason # bristol.ac.uk>",1,uk
"UK (London)",UK,London,http://cran.ma.imperial.ac.uk/,"Imperial College London","s.rochford # imperial.ac.uk",1,uk
"UK (St Andrews)",UK,"St Andrews",http://star-www.st-andrews.ac.uk/cran/,"St Andrews University","Lee Kelvin <lsk9 # St-andrews.ac.uk>",1,uk
......@@ -67,14 +69,15 @@ Switzerland,Switzerland,Zuerich,http://stat.ethz.ch/CRAN/,"ETH Zuerich","Martin.
"USA (CA 2)",USA,"Los Angeles",http://cran.stat.ucla.edu/,"University of California, Los Angeles, CA","Jose Hales-Garcia <jose # stat.ucla.edu>",1,us
"USA (IA)",USA,Ames,http://streaming.stat.iastate.edu/CRAN/,"Iowa State University, Ames, IA","Ted Peterson <cpterson # iastate.edu>",1,us
"USA (MA)",USA,Cambridge,http://software.rc.fas.harvard.edu/mirrors/R/,"Harvard University, Cambridge, MA","Chris Walker <cwalker # fas.harvard.edu>",1,us
"USA (MD)",USA,Bethesda,http://watson.nci.nih.gov/cran_mirror/,"National Cancer Institute, Bethesda, MD","Sean Davis <sdavis2 # mail.nih.gov>",1,us
"USA (MD)",USA,Bethesda,http://watson.nci.nih.gov/cran_mirror/,"National Cancer Institute, Bethesda, MD","Sean Davis <sdavis2 # mail.nih.gov>",0,us
"USA (MI)",USA,Houghton,http://cran.mtu.edu/,"Michigan Technological University, Houghton, MI","Robert Froese <froese # mtu.edu>",1,us
"USA (MO)",USA,"St. Louis",http://cran.wustl.edu/,"Washington University, St. Louis, MO","admartin # wustl.edu",1,us
"USA (NC)",USA,"Chapel Hill",http://www.ibiblio.org/pub/languages/R/CRAN/,"University of North Carolina, Chapel Hill, NC","""Nancy C. Wilson"" <nancy # metalab.unc.edu>",1,us
"USA (NC)",USA,"Chapel Hill",http://www.ibiblio.org/pub/languages/R/CRAN/,"University of North Carolina, Chapel Hill, NC","""Nancy C. Wilson"" <nancy # metalab.unc.edu>",0,us
"USA (OH)",USA,Cleveland,http://cran.case.edu/,"Case Western Reserve University, Cleveland, OH","""Alberto H. Santana"" <ahs4 # case.edu>",1,us
"USA (OR)",USA,Corvallis,http://ftp.osuosl.org/pub/cran/,"Oregon State University","support # Osuosl.org",1,us
"USA (PA 1)",USA,Pittsburgh,http://lib.stat.cmu.edu/R/CRAN/,"Statlib, Carnegie Mellon University, Pittsburgh, PA",,1,us
"USA (PA 2)",USA,Pittsburgh,http://cran.mirrors.hoobly.com,"Hoobly Classifieds, Pittsburgh, PA","Peter Grigor <pgrigor # hoobly.com>",1,us
"USA (TX 1)",USA,"San Antonio",http://www.revolution-computing.com/cran/,"Revolution Computing, San Antonio, TX","David Smith <david # revolution-computing.com>",1,us
"USA (TX 2)",USA,Houston,http://cran.sixsigmaonline.org/,"sixsigmaonline.org, Houston, TX","gosixsigma # gmail.com",1,us
"USA (WA)",USA,Seattle,http://cran.fhcrc.org/,"Fred Hutchinson Cancer Research Center, Seattle, WA","sfalcon # fhcrc.org",1,us
"USA (WA 1)",USA,Seattle,http://cran.fhcrc.org/,"Fred Hutchinson Cancer Research Center, Seattle, WA","sfalcon # fhcrc.org",1,us
"USA (WA 2)",USA,Bellingham,http://cran.cs.wwu.edu/,"Western Washington University, Bellingham, WA","CS.Support # Wwu.edu",1,us
R FAQ
Frequently Asked Questions on R
Version 2.13.2011-04-07
Version 2.13.2011-07-05
ISBN 3-900051-08-9
Kurt Hornik
......@@ -99,6 +99,8 @@ R FAQ
7.37 Why does backslash behave strangely inside strings?
7.38 How can I put error bars or confidence bands on my plot?
7.39 How do I create a plot with two y-axes?
7.40 How do I access the source code for a function?
7.41 Why does summary() report strange results for the R^2 estimate when I fit a linear model with no intercept?
8 R Programming
8.1 How should I write summary methods?
8.2 How can I debug dynamically loaded code?
......@@ -255,7 +257,7 @@ i386-freebsd, rs6000-ibm-aix, and sparc-sun-solaris.
2.3 What is the current version of R?
=====================================
The current released version is 2.13.0. Based on this
The current released version is 2.13.1. Based on this
`major.minor.patchlevel' numbering scheme, there are two development
versions of R, a patched version of the current release (`r-patched') and
one working towards the next minor or eventually major (`r-devel') releases
......@@ -391,11 +393,9 @@ The `bin/linux' directory of a CRAN site contains the following packages.
CPU Versions Provider
-----------------------------------------------------------------------
Debian i386/amd64 etch-cran Johannes Ranke
i386 lenny-cran Johannes Ranke
Debian i386/amd64 etch/lenny/squeeze Johannes Ranke
Red Hat i386/x86_64 fedora10/fedora11 Martyn Plummer
Ubuntu i386 hardy/karmic/lucid/maverick Vincent Goulet
amd64 hardy/karmic/lucid/maverick Michael Rutter
Ubuntu i386/amd64 hardy/lucid/maverick/natty Michael Rutter
Debian packages, maintained by Dirk Eddelbuettel, have long been part of
the Debian distribution, and can be accessed through APT, the Debian
......@@ -408,7 +408,7 @@ provided by Johannes Ranke, and available from CRAN. See
`http://CRAN.R-project.org/bin/linux/debian/README' for details on R Debian
packages and installing the backports, which should also be suitable for
other Debian derivatives. Native backports for Ubuntu are provided by
Vincent Goulet and Michael Rutter.
Michael Rutter.
R binaries for Fedora, maintained by Tom "Spot" Callaway, are provided
as part of the Fedora distribution and can be accessed through `yum', the
......@@ -426,9 +426,6 @@ statutory Fedora review process.
See `http://cran.r-project.org/bin/linux/suse/README.html' for
information about RPMs for openSUSE.
The `bin/solaris' directory of a CRAN site contains binary packages for
Solaris on the SPARC and x64 platforms, provided by Mithun Sridharan.
No other binary distributions are currently publically available via
CRAN.
......@@ -1302,16 +1299,20 @@ interface is created automatically. There is no need for the user to do
any extra scripting or learn any new scripting techniques. Rwui can also
be found at `http://rwui.cryst.bbk.ac.uk'.
Finally, the *R.rsp* (http://CRAN.R-project.org/package=R.rsp) package
by Henrik Bengtsson introduces "R Server Pages". Analogous to Java Server
Pages, an R server page is typically HTML with embedded R code that gets
evaluated when the page is requested. The package includes an internal
The *R.rsp* (http://CRAN.R-project.org/package=R.rsp) package by Henrik
Bengtsson introduces "R Server Pages". Analogous to Java Server Pages, an
R server page is typically HTML with embedded R code that gets evaluated
when the page is requested. The package includes an internal
cross-platform HTTP server implemented in Tcl, so provides a good framework
for including web-based user interfaces in packages. The approach is
similar to the use of the *brew* (http://CRAN.R-project.org/package=brew)
package with Rapache (http://rapache.net/) with the advantage of
cross-platform support and easy installation.
Finally, the *Rook* (http://CRAN.R-project.org/package=Rook) package by
Jeffrey Horner provides a web server server interface borrowing heavily
from Ruby's Rack project.
5 R Add-On Packages
*******************
......@@ -2554,6 +2555,38 @@ package) automate the process somewhat. See
`http://rwiki.sciviews.org/doku.php?id=tips:graphics-base:2yaxes' for more
information, including strong arguments against this sort of graph.
7.40 How do I access the source code for a function?
====================================================
In most cases, typing the name of the function will print its source code.
However, code is sometimes hidden in a namespace, or compiled. For a
complete overview on how to access source code, see Uwe Ligges (2006),
"Help Desk: Accessing the sources", _R News_, *6/4*, 43-45
(`http://cran.r-project.org/doc/Rnews/Rnews_2006-4.pdf').
7.41 Why does summary() report strange results for the R^2 estimate when I fit a linear model with no intercept?
================================================================================================================
As described in `?summary.lm', when the intercept is zero (e.g., from `y ~
x - 1' or `y ~ x + 0'), `summary.lm()' uses the formula R^2 = 1 -
Sum(R[i]^2) / Sum((y[i])^2) which is different from the usual R^2 = 1 -
Sum(R[i]^2) / Sum((y[i] - mean(y))^2). There are several reasons for this:
* Otherwise the R^2 could be negative (because the model with zero
intercept can fit _worse_ than the constant-mean model it is
implicitly compared to).
* If you set the slope to zero in the model with a line through the
origin you get fitted values y*=0
* The model with constant, non-zero mean is not nested in the model with
a line through the origin.
All these come down to saying that if you know _a priori_ that E[Y]=0
when x=0 then the `null' model that you should compare to the fitted line,
the model where x doesn't explain any of the variance, is the model where
E[Y]=0 everywhere. (If you don't know a priori that E[Y]=0 when x=0, then
you probably shouldn't be fitting a line through the origin.)
8 R Programming
***************
......
......@@ -11,7 +11,7 @@ subdir = doc
include $(top_builddir)/Makeconf
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
INSTFILES = AUTHORS COPYING COPYING.LIB COPYRIGHTS CRAN_mirrors.csv \
INSTFILES = AUTHORS COPYING COPYRIGHTS CRAN_mirrors.csv \
KEYWORDS KEYWORDS.db THANKS
DISTFILES = Makefile.in Makefile.win $(INSTFILES) R.aux Rscript.1 NEWS.Rd