Commit 2fdb5223 authored by Dirk Eddelbuettel's avatar Dirk Eddelbuettel

Import Upstream version 3.0.3

parent 48cbf4fc
This diff is collapsed.
......@@ -6208,66 +6208,6 @@ CHANGES IN R VERSION 2.10.0:
objects with a Latin-1 or UTF-8 encoding would corrupt the
CHARSXP cache.
**************************************************
* *
* 2.0 SERIES NEWS *
* *
**************************************************
CHANGES IN R VERSION 2.0.0
USER-VISIBLE CHANGES
o The stub packages from 1.9.x have been removed: the library()
function selects the new home for their code.
o `Lazy loading' of R code has been implemented, and is used for
the standard and recommended packages by default. Rather than
keep R objects in memory, they are kept in a database on disc
and only loaded on first use. This accelerates startup (down
to 40% of the time for 1.9.x) and reduces memory usage -- the
latter is probably unimportant of itself, but reduces
commensurately the time spent in garbage collection.
Packages are by default installed using lazy loading if they
have more than 25Kb of R code and did not use a saved image.
This can be overridden by INSTALL --[no-]lazy or via a field
in the DESCRIPTION file. Note that as with --save, any other
packages which are required must be already installed.
As the lazy-loading databases will be consulted often, R
will be slower if run from a slow network-mounted disc.
o All the datasets formerly in packages 'base' and 'stats' have
been moved to a new package 'datasets'. data() does the
appropriate substitution, with a warning. However, calls to
data() are not normally needed as the data objects are visible
in the 'datasets' package.
Packages can be installed to make their data objects visible
via R CMD INSTALL --lazy-data or via a field in the
DESCRIPTION file.
o Package 'graphics' has been split into 'grDevices' (the graphics
devices shared between base and grid graphics) and 'graphics'
(base graphics). Each of the 'graphics' and 'grid' packages
load 'grDevices' when they are attached. Note that
ps.options() has been moved to grDevices and user hooks may
need to be updated.
o The semantics of data() have changed (and were incorrectly
documented in recent releases) and the function has been moved
to package 'utils'. Please read the help page carefully if
you use the 'package' or 'lib.loc' arguments.
data() now lists datasets, and not just names which data() accepts.
o Dataset 'phones' has been renamed to 'WorldPhones'.
o Datasets 'sunspot.month' and 'sunspot.year' are available
**************************************************
* *
......@@ -16525,6 +16465,61 @@ BUG FIXES
identifier.
CHANGES IN R VERSION 2.0.0
USER-VISIBLE CHANGES
o The stub packages from 1.9.x have been removed: the library()
function selects the new home for their code.
o `Lazy loading' of R code has been implemented, and is used for
the standard and recommended packages by default. Rather than
keep R objects in memory, they are kept in a database on disc
and only loaded on first use. This accelerates startup (down
to 40% of the time for 1.9.x) and reduces memory usage -- the
latter is probably unimportant of itself, but reduces
commensurately the time spent in garbage collection.
Packages are by default installed using lazy loading if they
have more than 25Kb of R code and did not use a saved image.
This can be overridden by INSTALL --[no-]lazy or via a field
in the DESCRIPTION file. Note that as with --save, any other
packages which are required must be already installed.
As the lazy-loading databases will be consulted often, R
will be slower if run from a slow network-mounted disc.
o All the datasets formerly in packages 'base' and 'stats' have
been moved to a new package 'datasets'. data() does the
appropriate substitution, with a warning. However, calls to
data() are not normally needed as the data objects are visible
in the 'datasets' package.
Packages can be installed to make their data objects visible
via R CMD INSTALL --lazy-data or via a field in the
DESCRIPTION file.
o Package 'graphics' has been split into 'grDevices' (the graphics
devices shared between base and grid graphics) and 'graphics'
(base graphics). Each of the 'graphics' and 'grid' packages
load 'grDevices' when they are attached. Note that
ps.options() has been moved to grDevices and user hooks may
need to be updated.
o The semantics of data() have changed (and were incorrectly
documented in recent releases) and the function has been moved
to package 'utils'. Please read the help page carefully if
you use the 'package' or 'lib.loc' arguments.
data() now lists datasets, and not just names which data() accepts.
o Dataset 'phones' has been renamed to 'WorldPhones'.
o Datasets 'sunspot.month' and 'sunspot.year' are available
*********************************************************
* *
* News of 1.x.y is in file 'NEWS.1' *
......
No preview for this file type
Revision: 63987
Last Changed Date: 2013-09-25
Revision: 65126
Last Changed Date: 2014-03-06
Frisbee Sailing
Warm Puppy
......@@ -229,11 +229,12 @@
## read compressed archives. The default is to choose 'gtar' or
## 'gnutar'(normally GNU tar) then 'tar'.
## Note that 'bsdtar' (from the libarchive project) is known to create
## archives in a non-POSIX format that untar() cannot read,
## so should be avoided.
## archives in a non-POSIX format that other tars and untar() cannot
## read, so should be avoided.
## TAR=
## Library path
## Dynamic library path
## This is be default created from libraries added to LIBS.
## Used for DYLD_FALLBACK_LIBRARY_PATH on OS X and LD_LIBRARY_PATH elsewhere.
## Allow user to override.
## R_LD_LIBRARY_PATH=
This diff is collapsed.
......@@ -2,7 +2,7 @@
###
### Process this file with autoconf to produce a configure script.
###
### Copyright (C) 1998-2011 R Core Team
### Copyright (C) 1998-2013 R Core Team
###
### This file is part of R.
###
......@@ -76,7 +76,7 @@ AC_DEFINE_UNQUOTED(R_OS, "${host_os}",
## exclude some unsupported OSes
case "${host_os}" in
## Darwin 1.3.1 was OS X 10.0, 1.4.1 was 10.1, 5 is 10.2 etc
## with 11 being 10.7. We no longer support < 10.4 (Tiger)
## with 13 being 10.9. We no longer support < 10.4 (Tiger)
## http://en.wikipedia.org/wiki/Darwin_OS
darwin1.*)
AC_MSG_ERROR([The earliest supported MacOS X is 10.4.]
......@@ -624,7 +624,7 @@ else
fi
AC_SUBST(CXXCPP0)
R_GCC4_VISIBILITY
AC_GNU_SOURCE ## needed to libintl
AC_GNU_SOURCE ## needed for libintl
AC_PROG_OBJC
## unfortunately autoconf sets OBJC to gcc even if there is no working compiler
......
......@@ -507,7 +507,7 @@ tools/config.sub
Copyright 1992-2013 Free Software Foundation.
The Exception to GPL-3 applies.
tools/install-sh:
tools/install-sh
Copyright (C) 1994 X Consortium
......@@ -541,3 +541,6 @@ are part of LINPACK, with authors J.J. Dongarra, Cleve Moler and
G.W. Stewart
src/appl/dqrdc2.f is based on dqrdc.f by G.W. Stewart.
src/appl/lbfgsb.c is based on the work of Zhu, Byrd, Lu-Chen and
Nocedal, which does not state any copyright.
R FAQ
Frequently Asked Questions on R
Version 3.0.2013-09-16
Version 3.0.2014-03-03
Kurt Hornik
......@@ -125,7 +125,7 @@ questions about R.
1.1 Legalese
============
This document is copyright (C) 1998-2013 by Kurt Hornik.
This document is copyright (C) 1998-2014 by Kurt Hornik.
This document is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the Free
......@@ -158,13 +158,13 @@ site (*note What is CRAN?::).
1.3 Citing this document
========================
In publications, please refer to this FAQ as Hornik (2013), "The R FAQ",
In publications, please refer to this FAQ as Hornik (2014), "The R FAQ",
and give the above, _official_ URL:
@Misc{,
author = {Kurt Hornik},
title = {The {R} {FAQ}},
year = {2013},
title = {{R} {FAQ}},
year = {2014},
url = {http://CRAN.R-project.org/doc/FAQ/R-FAQ.html}
}
......@@ -256,7 +256,7 @@ i386-freebsd, rs6000-ibm-aix, and sparc-sun-solaris.
2.3 What is the current version of R?
=====================================
The current released version is 3.0.2. Based on this
The current released version is 3.0.3. 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
......@@ -521,7 +521,7 @@ To cite R in publications, use
author = {{R Core Team}},
organization = {R Foundation for Statistical Computing},
address = {Vienna, Austria},
year = 2013,
year = 2014,
url = {http://www.R-project.org}
}
......@@ -1656,7 +1656,7 @@ to the help system), and transcript manipulation (recording and saving
transcript files, manipulating and editing saved transcripts, and
re-evaluating commands from transcript files).
The latest stable version of ESS are available via CRAN or the ESS web
The latest stable version of ESS is available via CRAN or the ESS web
page (http://ESS.R-project.org/). The HTML version of the documentation
can be found at `http://stat.ethz.ch/ESS/'.
......@@ -1781,7 +1781,7 @@ surrounding it with `expression()'. For example,
R> D(expression(x^2), "x")
2 * x
Although this behavior may initially seem to be rather strange, is
Although this behavior may initially seem to be rather strange, it is
perfectly logical. The "intuitive" behavior could easily be implemented,
but problems would arise whenever the expression is contained in a
variable, passed as a parameter, or is the result of a function call.
......@@ -1997,7 +1997,7 @@ compact form, e.g.,
where subexpressions enclosed in `.()' are replaced by their values.
There are more worked examples in the mailing list archives.
There are more examples in the mailing list archives.
7.14 What are valid names?
==========================
......@@ -2013,7 +2013,7 @@ language:
1. A _syntactic name_ is a string the parser interprets as this type of
expression. It consists of letters, numbers, and the dot and (for
version of R at least 1.9.0) underscore characters, and starts with
versions of R at least 1.9.0) underscore characters, and starts with
either a letter or a dot not followed by a number. Reserved words are
not syntactic names.
......@@ -2117,6 +2117,8 @@ then you can use `outer()' by writing, e.g.,
outer(1:4, 1:2, FUN = wrapper, my.fun = foo, happy = 10)
Scalar functions can also be vectorized using `Vectorize()'.
7.18 Why does the output from anova() depend on the order of factors in the model?
==================================================================================
......@@ -2150,7 +2152,7 @@ should just work. This option is not available for versions of R prior to
2.7.0, or without support for cairo. From R 2.7.0 `png()' by default uses
the Quartz device on Mac OS X, and that too works in batch mode.
Earlier versions of the `png()' device uses the X11 driver, which is a
Earlier versions of the `png()' device used the X11 driver, which is a
problem in batch mode or for remote operation. If you have Ghostscript you
can use `bitmap()', which produces a PostScript or PDF file then converts
it to any bitmap format supported by Ghostscript. On some installations
......@@ -2481,7 +2483,7 @@ unless it happens to be followed by certain other characters.
and _representations_ of character strings. Mostly, the representation in
R is just the string with a single or double quote at either end, but there
are strings that cannot be represented that way, e.g., strings that
themselves contains the quote character. So
themselves contain the quote character. So
> str <- "This \"text\" is quoted"
> str
......
......@@ -65,6 +65,25 @@ PDFLATEX = @PDFLATEX@
$(ECHO) 'options(warn=1);tools:::Rd2pdf_NEWS_in_Rd("NEWS.rds", "../NEWS.pdf")' | LC_COLLATE=C $(R_EXE); \
fi
## NEWS.2.html ships as doc/html/NEWS.2.html in the sources.
## This target allows it to be regenerated if necessary.
docs2: NEWS.2.rds NEWS.2.html NEWS.2.pdf
NEWS.2.rds: $(srcdir)/NEWS.2.Rd
@$(ECHO) "options(warn=1);saveRDS(tools:::prepare_Rd(tools::parse_Rd(\"$(srcdir)/NEWS.2.Rd\"), stages = 'install'), 'NEWS.2.rds')" | $(R_EXE)
NEWS.2.html: NEWS.2.rds
@$(ECHO) "creating NEWS.2.html"
@$(ECHO) 'options(warn=1);tools:::Rd2HTML_NEWS_in_Rd("NEWS.2.rds", "NEWS.2.html")' | $(R_EXE)
NEWS.2.pdf: NEWS.2.rds
@if test -z "$(PDFLATEX)"; then \
$(ECHO) "'pdflatex' is needed to make NEWS.2.pdf but is missing on your system."; \
else \
$(ECHO) "creating NEWS.2.pdf"; \
$(ECHO) 'options(warn=1);tools:::Rd2pdf_NEWS_in_Rd("NEWS.2.rds", "NEWS.2.pdf")' | LC_COLLATE=C $(R_EXE); \
fi
install: install-message installdirs install-sources install-sources2 install-man
@for d in $(SUBDIRS); do \
......@@ -120,7 +139,7 @@ clean:
@if test "$(BUILDDIR_IS_SRCDIR)" = no ; then \
rm -f $(INSTFILES) R.1; \
fi
-@rm -f NEWS.rds
-@rm -f NEWS.rds NEWS.2.rds NEWS.2.html NEWS.2.pdf
distclean: clean
@for d in $(SUBDIRS); do \
(cd $${d} && $(MAKE) $@) || exit 1; \
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -29,6 +29,8 @@ SUBDIRS_WITH_NO_BUILD = images
OBJECTS_HTML = $(SOURCES_TEXI:.texi=.html)
OBJECTS_INFO = $(SOURCES_TEXI:.texi=.info)
OBJECTS_PDF = $(SOURCES_TEXI:.texi=.pdf)
OBJECTS_EPUB = $(SOURCES_TEXI:.texi=.epub)
OBJECTS_MOBI = $(SOURCES_TEXI:.texi=.mobi)
MAKEINDEX = @MAKEINDEX@
MAKEINFO = @MAKEINFO@
......@@ -45,6 +47,14 @@ PDFTEX = @PDFTEX@
BATCHPDFLATEX = $(PDFLATEX) -interaction=nonstopmode
## experimental support of ebook conversion.
## ebook-convert is part of 'calibre'
## (http://calibre-ebook.com/download, or Debian/Fedora/... packages)
EBOOK = ebook-convert
## or on OS X
## EBOOK = /Applications/calibre.app/Contents/MacOS/ebook-convert
EBOOK_OPTS = --language en --publisher "R Core Team"
datarootdir = @datarootdir@
infodir = @infodir@
INSTALL_INFO = @INSTALL_INFO@
......@@ -61,7 +71,7 @@ SVN_REV = $(top_builddir)/SVN-REVISION
texiincludes = version.texi $(srcdir)/R-defs.texi
.SUFFIXES:
.SUFFIXES: .html .info .texi .pdf
.SUFFIXES: .html .info .texi .pdf .epub .mobi
all: Makefile R docs
......@@ -101,6 +111,44 @@ docs: html
fi
TEXINPUTS="$(srcdir):$$TEXINPUTS" $(TEXI2PDF) $<
## It seems ebook-convert converts the directory,
## so we populate a temporary dir.
.texi.epub:
@mkdir -p tmp