Commit ff76489d authored by Dirk Eddelbuettel's avatar Dirk Eddelbuettel

Import Upstream version 3.3.3

parent 1077648f
Revision: 71607
Last Changed Date: 2016-10-31
Revision: 72310
Last Changed Date: 2017-03-06
Sincere Pumpkin Patch
Another Canoe
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for R 3.3.2.
# Generated by GNU Autoconf 2.69 for R 3.3.3.
#
# Report bugs to <https://bugs.r-project.org>.
#
......@@ -590,8 +590,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='R'
PACKAGE_TARNAME='R'
PACKAGE_VERSION='3.3.2'
PACKAGE_STRING='R 3.3.2'
PACKAGE_VERSION='3.3.3'
PACKAGE_STRING='R 3.3.3'
PACKAGE_BUGREPORT='https://bugs.r-project.org'
PACKAGE_URL='https://www.r-project.org'
......@@ -1663,7 +1663,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 3.3.2 to adapt to many kinds of systems.
\`configure' configures R 3.3.3 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
......@@ -1738,7 +1738,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of R 3.3.2:";;
short | recursive ) echo "Configuration of R 3.3.3:";;
esac
cat <<\_ACEOF
......@@ -1989,7 +1989,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
R configure 3.3.2
R configure 3.3.3
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
......@@ -3141,7 +3141,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 3.3.2, which was
It was created by R $as_me 3.3.3, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
......@@ -35507,10 +35507,11 @@ else
#include <string.h>
#include <zlib.h>
int main() {
#ifdef ZLIB_VERSION
/* Work around Debian bug: it uses 1.2.3.4 even though there was no such
version on the master site zlib.net */
exit(strncmp(ZLIB_VERSION, "1.2.5", 5) < 0);
#ifdef ZLIB_VERNUM
if (ZLIB_VERNUM < 0x1250) {
exit(1);
}
exit(0);
#else
exit(1);
#endif
......@@ -46492,7 +46493,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 3.3.2, which was
This file was extended by R $as_me 3.3.3, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
......@@ -46559,7 +46560,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 3.3.2
R config.status 3.3.3
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
......@@ -9,10 +9,10 @@ source, currently consisting of
Douglas Bates
John Chambers
Peter Dalgaard
Seth Falcon
Robert Gentleman
Kurt Hornik
Ross Ihaka
Tomas Kalibera
Michael Lawrence
Friedrich Leisch
Uwe Ligges
......@@ -28,8 +28,9 @@ Duncan Temple Lang
Luke Tierney
Simon Urbanek
plus Heiner Schwarte up to October 1999, Guido Masarotto up to June 2003 and
Stefano Iacus up to July 2014.
plus Heiner Schwarte up to October 1999, Guido Masarotto up to June 2003,
Stefano Iacus up to July 2014 and Seth Falcon up to August 2015.
Current R-core members can be contacted via email to R-project.org
with name made up by replacing spaces by dots in the name listed above.
......
......@@ -30,7 +30,7 @@ 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
4src/include/Rdefines.h
src/include/Rdefines.h
src/include/Rgraphics.h
src/include/Rinternals.h
src/include/Rmath.h
......@@ -286,23 +286,23 @@ THE SOFTWARE.
src/modules/lapack/dlapack.f, cmplx.f, dlamc.f
Extracted from
* -- LAPACK computational routine (version 3.6.0) --
* -- LAPACK computational routine (version 3.6.1) --
* -- LAPACK is a software package provided by Univ. of Tennessee, --
* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
* Novemeber 2015
* June 2016
where the version number, providers and date vary by subroutine.
LAPACK 3.6.0 contains a LICENSE file, copied to src/modules/lapack
LAPACK 3.6.1 contains a LICENSE file, copied to src/modules/lapack
(but many of these routines were originally copied from earlier
versions of LAPACK). For binary distributions it is reproduced here:
Copyright (c) 1992-2015 The University of Tennessee and The University
Copyright (c) 1992-2016 The University of Tennessee and The University
of Tennessee Research Foundation. All rights
reserved.
Copyright (c) 2000-2015 The University of California Berkeley. All
Copyright (c) 2000-2016 The University of California Berkeley. All
rights reserved.
Copyright (c) 2006-2015 The University of Colorado Denver. All rights
Copyright (c) 2006-2016 The University of Colorado Denver. All rights
reserved.
$COPYRIGHT$
......
R News
CHANGES IN R 3.3.3:
NEW FEATURES:
* Changes when redirection of a http:// URL to a https:// URL is
encountered:
* The internal methods of download.file() and url() now report
that they cannot follow this (rather than failing silently).
* (Unix-alike) download.file(method = "auto") (the default)
re-tries with method = "libcurl".
* (Unix-alike) url(method = "default") with an explicit open
argument re-tries with method = "libcurl". This covers many
of the usages, e.g. readLines() with a URL argument.
INSTALLATION on a UNIX-ALIKE:
* The configure check for the zlib version is now robust to
versions longer than 5 characters, including 1.2.11.
UTILITIES:
* Environmental variable _R_CHECK_TESTS_NLINES_ controls how R CMD
check reports failing tests (see SS8 of the 'R Internals' manual).
DEPRECATED AND DEFUNCT:
* (C-level Native routine registration.) The undocumented styles
field of the components of R_CMethodDef and R_FortranMethodDef is
deprecated.
BUG FIXES:
* vapply(x, *) now works with long vectors x. (PR#17174)
* isS3method("is.na.data.frame") and similar are correct now.
(PR#17171)
* grepRaw(<long>, <short>, fixed = TRUE) now works, thanks to a
patch by Mikko Korpela. (PR#17132)
* Package installation into a library where the package exists
_via_ symbolic link now should work wherever Sys.readlink()
works, resolving PR#16725.
* "Cincinnati" was missing an "n" in the precip dataset.
* Fix buffer overflow vulnerability in pdf() when loading an
encoding file. Reported by Talos (TALOS-2016-0227).
* getDLLRegisteredRoutines() now produces its warning correctly
when multiple DLLs match, thanks to Matt Dowle's PR#17184.
* Sys.timezone() now returns non-NA also on platforms such as
Ubuntu 14.04.5 LTS, thanks to Mikko Korpela's PR#17186.
* format(x) for an illegal "POSIXlt" object x no longer segfaults.
* methods(f) now also works for f "(" or "{".
* (Windows only) dir.create() did not check the length of the path
to create, and so could overflow a buffer and crash R.
(PR#17206)
* On some systems, very small hexadecimal numbers in hex notation
would underflow to zero. (PR#17199)
* pmin() and pmax() now work again for ordered factors and 0-length
S3 classed objects, thanks to Suharto Anggono's PR#17195 and
PR#17200.
* bug.report() did not do any validity checking on a package's
BugReports field. It now ignores an empty field, removes leading
whitespace and only attempts to open http:// and https:// URLs,
falling back to emailing the maintainer.
* Bandwidth selectors bw.ucv() and bw.SJ() gave incorrect answers
or incorrectly reported an error (because of integer overflow)
for inputs longer than 46341. Similarly for bw.bcv() at length
5793.
Another possible integer overflow is checked and may result in an
error report (rather than an incorrect result) for much longer
inputs (millions for a smooth distribution).
* findMethod() failed if the active signature had expanded beyond
what a particular package used. (Example with packages XR and
XRJulia on CRAN.)
* qbeta() underflowed too early in some very asymmetric cases.
(PR#17178)
* R CMD Rd2pdf had problems with packages with non-ASCII titles in
.Rd files (usually the titles were omitted).
CHANGES IN R 3.3.2:
NEW FEATURES:
......@@ -388,7 +485,7 @@ CHANGES IN R 3.3.0:
* Only font family names starting with "Hershey" (and not "Her" as
before) are given special treatment by the graphics engine.
* S4 values are automatically coerced to vector (via as.vector)
* S4 values are automatically coerced to vector (_via_ as.vector)
when subassigned into atomic vectors.
* findInterval() gets a left.open option.
......@@ -656,7 +753,7 @@ CHANGES IN R 3.3.0:
retrieving HTTP error pages (where the ISP reports the error).
* xpdrows.data.frame() was not checking for unique row names; in
particular, this affected assignment to non-existing rows via
particular, this affected assignment to non-existing rows _via_
numerical indexing. (PR#16570)
* tail.matrix() did not work for zero rows matrices, and could
......@@ -2174,8 +2271,8 @@ CHANGES IN R 3.1.2:
* options(list()) now works (trivially). (PR#15979)
* merge(<dendrogram>, ..) now works correctly for two `independent'
dendrograms (PR#15648), and still compatibly via adjust = "auto"
e.g. for two branches of an existing dendrogram.
dendrograms (PR#15648), and still compatibly _via_ adjust =
"auto" e.g. for two branches of an existing dendrogram.
* The plot method for "hclust" objects gets an optional argument
check; when that is true (the default) it checks more carefully
......@@ -2225,7 +2322,7 @@ CHANGES IN R 3.1.2:
* Work around a bug in OS X Yosemite where key environment
variables may be duplicated causing issues in subprocesses. The
duplicates are now removed on R startup (via Rprofile).
duplicates are now removed on R startup (_via_ Rprofile).
(PR#16042)
* Adjust X11 auto-launch detection in DISPLAY on OS X to recognize
......@@ -2514,7 +2611,7 @@ CHANGES IN R 3.1.0:
names, dims and dimnames are.
* colorRamp() and colorRampPalette() now allow non-opaque colours
and a ramp in opacity via the new argument alpha = TRUE.
and a ramp in opacity _via_ the new argument alpha = TRUE.
(Suggested by Alberto Krone-Martins, but optionally as there are
existing uses which expect only RGB values.)
......@@ -3333,7 +3430,7 @@ CHANGES IN R 3.0.2:
* col2rgb() now converts factors to character strings not integer
codes (suggested by Bryan Hanson).
* tail(warnings()) now works, via the new `[` method.
* tail(warnings()) now works, _via_ the new `[` method.
* There is now support for the LaTeX style file zi4.sty which has
in some distributions replaced inconsolata.sty.
......@@ -3371,7 +3468,7 @@ CHANGES IN R 3.0.2:
* Methods invoked by NextMethod() had a different dynamic parent to
the generic. This was causing trouble where S3 methods invoked
via lazy evaluation could lose track of their generic.
_via_ lazy evaluation could lose track of their generic.
(PR#15267)
* Code for the negative binomial distribution now treats the case
......@@ -3714,7 +3811,7 @@ CHANGES IN R 3.0.2:
lose any zero-length strings from the command line arguments.
(PR#15406)
* Errors in the encoding specified on the command line via
* Errors in the encoding specified on the command line _via_
--encoding=foo were not handled properly. (PR#15405)
* If x is a symbol, is.vector(x, "name") now returns TRUE, since
......@@ -4264,13 +4361,13 @@ CHANGES IN R 3.0.0:
* The parse() function has a new parameter keep.source, which
defaults to options("keep.source").
* Profiling via Rprof() now optionally records information at the
* Profiling _via_ Rprof() now optionally records information at the
statement level, not just the function level.
* The Rprof() function now quotes function names in in its output
file on Windows, to be consistent with the quoting in Unix.
* Profiling via Rprof() now optionally records information about
* Profiling _via_ Rprof() now optionally records information about
time spent in GC.
* The HTML help page for a package now displays non-vignette
......@@ -4650,8 +4747,8 @@ CHANGES IN R 3.0.0:
affinity settings like OpenBLAS) - the function is rather
intended to support affinity control in high-level parallel
functions. In the future, R may supplement lack of affinity
control in the OS by its own bookkeeping via mcaffinity() related
to processes and threads it spawns.
control in the OS by its own bookkeeping _via_ mcaffinity()
related to processes and threads it spawns.
* mcparallel() has a new argument mc.affinity which attempts to set
the affinity of the child process according to the specification
......@@ -4818,7 +4915,7 @@ CHANGES IN R 3.0.0:
rare circumstances such as a garbage collection triggering a
recursive call.
* Field assignments in reference class objects via $<- were not
* Field assignments in reference class objects _via_ $<- were not
being checked because the magic incantation to turn methods on
for that primitive operator had been inadvertently omitted.
......
This diff is collapsed.
No preview for this file type
......@@ -8,7 +8,7 @@ Rscript \- front end for scripting with R
A binary front-end to R, for use in scripting applications.
.TP
\fBexpr\fR
An optional expression to be evaluated, used in place of \fBexpr\fR.
An optional expression to be evaluated, used in place of \fBfile\fR.
.TP
\fBfile\fR
Input file of R expressions
......
R would not be what it is today without the invaluable help of these
people, who contributed by donating code, bug fixes and documentation:
people outside of the R core team, who contributed by donating code, bug
fixes and documentation:
Valerio Aimale, Thomas Baier, Henrik Bengtsson, Roger Bivand,
Ben Bolker, David Brahm, G"oran Brostr"om, Patrick Burns, Vince Carey,
......@@ -60,8 +61,10 @@ email addresses to contributors to the R Project (even without making them
members of the R Foundation) when in the view of the R Foundation this
would help advance the R project.
The R Core Group, Roger Bivand, Dirk Eddelbuettel, John Fox, Torsten
Hothorn, Stefano Iacus, Marc Schwartz, Bill Venables, Hadley Wickham
and Achim Zeileis are the ordinary members of the R Foundation. In
addition, David Meyer and Simon Wood are also e-addressable by
The R Core Group, Roger Bivand, Jennifer Bryan, Di Cook, Dirk Eddelbuettel,
John Fox, Bettina Grün, Frank Harrell, Torsten Hothorn, Stefano Iacus,
Julie Josse, Balasubramanian Narasimhan, Marc Schwartz, Heather Turner,
Bill Venables, Hadley Wickham and Achim Zeileis are the ordinary members of
the R Foundation.
In addition, David Meyer and Simon Wood are also e-addressable by
<Firstname>.<Lastname>@R-project.org.
This diff is collapsed.
This diff is collapsed.
......@@ -571,7 +571,7 @@ make mobi
@noindent
This requires @command{ebook-convert} from @command{Calibre}
(@uref{http://calibre-ebook.com/download}), or from most Linux
distributions). If necessary the path to @command{ebook-convert} can be
distributions. If necessary the path to @command{ebook-convert} can be
set as make macro @env{EBOOK} to by editing @file{doc/manual/Makefile}
(which contains a commented value suitable for macOS).
......@@ -2956,7 +2956,7 @@ build. You can often build both and install them in the same place:
distributions.)
Even on 64-bit builds of @R{} there are limits on the size of @R{}
objects (see @code{help("Memory-limits")}, some of which stem from the
objects (see @code{help("Memory-limits")}), some of which stem from the
use of 32-bit integers (especially in FORTRAN code). For example, the
dimensions of an array are limited to @math{2^{31} - 1}.
......@@ -3271,15 +3271,16 @@ be accepted with a deprecation warning) is required (or just its library
and headers if packaged separately). PCRE must be built with UTF-8
support (not the default, and checked by @command{configure}) and
support for Unicode properties is assumed by some @R{} packages. JIT
support is desirable for the best performance: support for this and
Unicode properties can be checked at run-time by calling
@code{pcre_config()}. If building PCRE for use with @R{} a suitable
@command{configure} command might be
support is desirable for the best performance (but not used by @R{}
itself prior to 3.4.0): support for this and Unicode properties can be
checked at run-time by calling @code{pcre_config()}. If building PCRE
for use with @R{} a suitable @command{configure} command might be
@example
./configure --enable-utf --enable-unicode-properties --enable-jit --disable-cpp
@end example
@noindent
The @option{--enable-jit} flag is supported for most common CPUs.
The @option{--enable-jit} flag is supported as from PCRE 8.20 for most
common CPUs.
@c libcurl 7.28.0 was released in Oct 2012
Library @code{libcurl} (version 7.28.0 or later@footnote{but not a major
......@@ -4181,12 +4182,14 @@ readline, in non-system directories, use the variables @code{LDFLAGS}
the C/C++ preprocessors), respectively, to specify these locations.
These default to @samp{-L/usr/local/lib} (@code{LDFLAGS},
@samp{-L/usr/local/lib64} on most 64-bit Linux OSes) and
@samp{-I/usr/local/include} (@code{CPPFLAGS}) to catch the most common
cases. If libraries are still not found, then maybe your
@samp{-I/usr/local/include} (@code{CPPFLAGS}, but note that on most
systems @file{/usr/local/include} is regarded as a system include
directory and so instances in that macro will be skipped) to catch the
most common cases. If libraries are still not found, then maybe your
compiler/linker does not support re-ordering of @option{-L} and
@option{-l} flags (this has been reported to be a problem on HP-UX with
the native @command{cc}). In this case, use a different compiler (or a
front end shell script which does the re-ordering).
@option{-l} flags (years ago this was reported to be a problem on HP-UX
with the native @command{cc}). In this case, use a different compiler
(or a front-end shell script which does the re-ordering).
These flags can also be used to build a faster-running version of @R{}.
On most platforms using @command{gcc}, having @samp{-O3} in
......@@ -4547,7 +4550,7 @@ only contain a subset of the available glyphs (and are often fixed-width
designed for use in terminals). In such locales @emph{fontsets} are
used, made up of fonts encoded in other encodings. If the locale you
are using has an entry in the @samp{XLC_LOCALE} directory (typically
@file{/usr/share/X11/locale}, it is likely that all you need to do is to
@file{/usr/share/X11/locale}), it is likely that all you need to do is to
pick a suitable font specification that has fonts in the encodings
specified there. If not, you may have to get hold of a suitable locale
entry for X11. This may mean that, for example, Japanese text can be
......@@ -4577,7 +4580,9 @@ directory or elsewhere, for example,
@cindex Linux
Linux is the main development platform for @R{}, so compilation from the
sources is normally straightforward with the standard compilers.
sources is normally straightforward with the standard compilers and
libraries.@footnote{For example, @code{glibc}: other C libraries such as
@code{musl} have been used but are not routinely tested.}
Remember that some package management systems (such as @acronym{RPM} and
deb) make a distinction between the user version of a package and the
......@@ -4633,7 +4638,7 @@ LDFLAGS="-L/usr/local/lib64 -L/usr/local/lib"
@noindent
is appropriate since most (but not all) software installs its 64-bit
libraries in @file{/usr/local/lib64}. To build a 32-bit version of @R{}
on @cputype{x86_64} with Fedora 21 we used
on @cputype{x86_64} with Fedora 24 we used
@example
CC="gcc -m32"
......@@ -4740,7 +4745,7 @@ as @option{-mp} (shown above) or @option{-fp-model precise -fp-model
source}, depending on the compiler version.
Others have reported success with versions 10.x and 11.x.
% https://stat.ethz.ch/pipermail/r-devel/2015-September/071717.html
@c https://stat.ethz.ch/pipermail/r-devel/2015-September/071717.html
Bjørn-Helge Mevik reported success with version 2015.3 of the compilers,
using (for a SandyBridge CPU on Centos 6.x)
......@@ -4834,12 +4839,10 @@ binary distribution of @R{} you will probably need to specify the name
or path in a personal or site @file{Makevars} file (@pxref{Customizing
package compilation}).
More recent and complete distributions of @command{clang} are usually
available from @uref{http://llvm.org/releases/}. In particular, these
include support for the `Address Sanitizer' (not included by Apple until
Xcode 7) and for OpenMP@footnote{This also needs the OpenMP runtime,
which was distributed separately at that site for 3.7.0.} in version
3.7.0 and later.
More recent and complete distributions of @command{clang} are often
available from @uref{http://llvm.org/releases/}: for example at the time
of writing for 3.9.0 but not 3.9.1. In particular, these may include
support for OpenMP.
Pre-compiled versions of many of the @ref{Useful libraries and programs}
are available from @uref{https://r.research.att.com/libs/}. You will
......@@ -4938,16 +4941,26 @@ changed their installation locations.
@noindent
although linked versions under @file{/usr/X11} will be found.
The Fortran compiler for El Capitan from (at the time of writing)
@uref{http://coudert.name/@/software/@/gfortran-6.1-ElCapitan.dmg} works on
Sierra: those at @uref{https://r.research.att.com/} have failure
reports. One way to use the Coudert build is to have a
@file{~/.R/Makevars} file similar to
There are installers@footnote{Some of these are unsigned packages: to
install them you may need to right-click and select @code{Open with ->
Installer}.} for Fortran compilers for El Capiton and Sierra at
@uref{http://coudert.name/@/software/@/gfortran-6.1-ElCapitan.dmg} and
@uref{http://coudert.name/@/software/@/gfortran-6.3-Sierra.dmg}: those
at @uref{https://r.research.att.com/} have failure reports on Sierra.
One way to use the Coudert build with a binary distribution of @R{} is
to have a @file{~/.R/Makevars} file similar to (El Capitan)
@smallexample
F77 = /usr/local/gfortran/bin/gfortran
FC = /usr/local/gfortran/bin/gfortran
FLIBS = -L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin15/6.1.0 -L/usr/local/gfortran/lib -lgfortran -lquadmath -lm
@end smallexample
or (Sierra)
@smallexample
F77 = /usr/local/gfortran/bin/gfortran
FC = /usr/local/gfortran/bin/gfortran
FLIBS = -L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin16/6.3.0 -L/usr/local/gfortran/lib -lgfortran -lquadmath -lm
@end smallexample
@node Tcl/Tk headers and libraries, Java (macOS), El Capitan and Sierra, macOS
@subsection Tcl/Tk headers and libraries
......@@ -5136,6 +5149,11 @@ A large selection of Open Source software can be installed from
@file{/opt/csw}. Solaris 10 ships with @code{bzlib} version 1.0.6
(sufficient) but @code{zlib} version 1.2.3 (too old): OpenCSW has 1.2.8.
The Oracle compilers are unusual in not including
@file{/usr/local/include} in the default include search path: @R{}'s
default @code{CPPFLAGS=-I/usr/local/include} remedies this. If you rely
on OpenCSW software you may need @code{CPPFLAGS=-I/opt/csw/include}
You will need @acronym{GNU} @code{libiconv} and @code{readline}: the
Solaris version of @code{iconv} is not sufficiently powerful.
......@@ -5338,7 +5356,13 @@ If using @command{gcc}, ensure that the compiler was compiled for the
version of Solaris in use. (This can be ascertained from @command{gcc
-v}.) @command{gcc} makes modified versions of some header files, and
several reports of problems were due to using @command{gcc} compiled on
one version of Solaris on a later version.
one version of Solaris on a later version. Note that this can even
apply to OS patches: some 2016 patches to Solaris 10 changed its C
header files in way incompatible@footnote{In particular, header
@file{cmath} in C++11 mode includes @file{math.h} and
@file{iso/math_c99.h} and @command{gcc} had `fixed' an earlier version
of the latter.} with the modified versions included with OpenCSW's
binary distribution.
The notes here are for @command{gcc} set up to use the Solaris linker:
it can also be set up to use GNU @command{ld}, but that has not been
......
......@@ -345,7 +345,7 @@ changed by argument @code{na}. Note that @code{NaN}s are treated as
By default strings are quoted (including the row and column names).
Argument @code{quote} controls if character and factor variables are
quoted: some programs, for example @pkg{Mondrian}
(@uref{https://en.wikipedia.org/wiki/Mondrian_(software)}, do not accept
(@uref{https://en.wikipedia.org/wiki/Mondrian_(software)}), do not accept
quoted strings.
Some care is needed if the strings contain embedded quotes. Three
......@@ -2359,8 +2359,8 @@ Addison-Wesley.
Also available at @uref{http://momjian.us/main/writings/pgsql/aw_pgsql_book/}.
@noindent
B.@: D.@: Ripley (2001) Connections. \@emph{R News}, @strong{1/1}, 16--7.
\@uref{https://www.r-project.org/doc/Rnews/Rnews_2001-1.pdf}
B.@: D.@: Ripley (2001) Connections. @emph{R News}, @strong{1/1}, 16--7.
@uref{https://www.r-project.org/doc/Rnews/Rnews_2001-1.pdf}
@noindent
......
This diff is collapsed.
......@@ -195,8 +195,7 @@ z <- outer(x, y, f)
d <- outer(0:9, 0:9)
fr <- table(outer(d, d, "-"))
plot(as.numeric(names(fr)), fr, type="h",
xlab="Determinant", ylab="Frequency")
plot(fr, xlab="Determinant", ylab="Frequency")
##
......
......@@ -1922,13 +1922,12 @@ A neat way of doing this uses the @code{outer()} function twice:
@example
> d <- outer(0:9, 0:9)
> fr <- table(outer(d, d, "-"))
> plot(as.numeric(names(fr)), fr, type="h",
xlab="Determinant", ylab="Frequency")
> plot(fr, xlab="Determinant", ylab="Frequency")
@end example
Notice the coercion of the @code{names} attribute of the frequency table
to numeric in order to recover the range of the determinant values. The
``obvious'' way of doing this problem with @code{for} loops, to be
Notice that @code{plot()} here uses a histogram like plot method, because
it ``sees'' that @code{fr} is of class @code{"table"}.
The ``obvious'' way of doing this problem with @code{for} loops, to be
discussed in @ref{Loops and conditional execution}, is so inefficient as
to be impractical.
......@@ -3377,7 +3376,7 @@ Commands may be grouped together in braces, @code{@{@var{expr_1};
@var{@dots{}}; @var{expr_m}@}}, in which case the value of the group
is the result of the last expression in the group evaluated. Since such
a group is also an expression it may, for example, be itself included in
parentheses and used a part of an even larger expression, and so on.
parentheses and used as part of an even larger expression, and so on.
@node Control statements, , Grouped expressions, Loops and conditional execution
@section Control statements
......@@ -6676,7 +6675,7 @@ is sometimes useful for exporting names from @R{}.
File @emph{permissions} are a related topic. @R{} has support for the
POSIX concepts of read/write/execute permission for owner/group/all but
this may be only partially supported on the filesystem (so for example
t