<?xml version="1.0" encoding="utf-8"?>

<!-- name="generator" content="blosxom/2.0.djm" -->

<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Daily News:  R-2-12-branch</title>
    <link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch</link>
    <atom:link href="https://developer.r-project.org/blosxom.cgi/R-2-12-branch/index.rss" rel="self" type="application/rss+xml" />
    <description>Daily updates to R-2-12-branch</description>
    <language>en</language>

<item>
<title>2011-03-19</title>
<pubDate>Fri, 18 Mar 2011 19:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/03/18#n2011-03-19</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/03/18#n2011-03-19</guid>
<description><![CDATA[<H4>2.12.2 patched BUG FIXES </H4>
<UL>
<LI><P>
‘checkRd()’ gave a spurious error if the ‘\href’ macro was used.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2011-03-14</title>
<pubDate>Sun, 13 Mar 2011 19:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/03/13#c2011-03-14</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/03/13#c2011-03-14</guid>
<description><![CDATA[<H4>2.12.2 BUG FIXES (Windows)</H4>
<UL>
<LI><P>
The graphical dialog version of ‘select.list()’ could cause later
dialogs to fail if Windows events were not processed between the calls.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2011-03-12</title>
<pubDate>Fri, 11 Mar 2011 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/03/11#n2011-03-12</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/03/11#n2011-03-12</guid>
<description><![CDATA[<H4>2.12.2 patched BUG FIXES </H4>
<UL>
<LI><P>
Non-ascii characters in the titles of help pages were not rendered
properly in some locales, and could cause errors or warnings.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2011-03-10</title>
<pubDate>Wed, 09 Mar 2011 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/03/09#n2011-03-10</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/03/09#n2011-03-10</guid>
<description><![CDATA[<H4>2.12.2 SIGNIFICANT USER-VISIBLE CHANGES </H4>
<UL>
<LI><P>
Complex arithmetic (notably ‘z^n’ for complex ‘z’ and integer ‘n’) gave
incorrect results since R 2.10.0 on platforms without C99 complex
support.  This and some lesser issues in trignometric functions have
been corrected.
</P>
<P>
Such platforms were rare (we know of Cygwin and FreeBSD).  However,
because of new compiler optimizations in the way complex arguments are
handled, the same code was selected on x86_64 Linux with ‘gcc 4.5.x’ at
the default ‘-O2’ optimization (but not at ‘-O’).
</P></LI>

<LI><P>
There is a workaround for crashes seen with several packages on systems
using ‘zlib 1.2.5’: see the INSTALLATION section.
</P></LI>

</UL>
<H4>2.12.2 NEW FEATURES </H4>
<UL>
<LI><P>
PCRE has been updated to 8.12 (two bug-fix releases since 8.10).
</P></LI>

<LI><P>
‘rep()’, ‘seq()’, ‘seq.int()’ and ‘seq_len()’ report more often when
the first element is taken of an argument of incorrect length.
</P></LI>

<LI><P>
The Cocoa back-end for the ‘quartz()’ graphics device on Mac OS X
provides a way to disable event loop processing temporarily (useful,
e.g., for forked instances of R).
</P></LI>

<LI><P>
‘kernel()’'s default for ‘m’ was not appropriate if ‘coef’ was a set of
coefficients.  (Reported by Pierre Chausse.)
</P></LI>

<LI><P>
‘bug.report()’ has been updated for the current R bug tracker, which
does not accept emailed submissions.
</P></LI>

<LI><P>
‘R CMD check’ now checks for the correct use of ‘$(LAPACK_LIBS)’ (as
well as ‘$(BLAS_LIBS)’), since several CRAN recent submissions have
ignored ‘Writing R Extensions’.
</P></LI>

</UL>
<H4>2.12.2 INSTALLATION </H4>
<UL>
<LI><P>
The ‘zlib’ sources in the distribution are now built with all symbols
remapped: this is intended to avoid problems seen with packages such as
‘XML’ and ‘rggobi’ which link to ‘zlib.so.1’ on systems using ‘zlib
1.2.5’.
</P></LI>

<LI><P>
The default for ‘FFLAGS’ and ‘FCFLAGS’ with ‘gfortran’ on x86_64 Linux
has been changed back to ‘-g -O2’: however, setting ‘-g -O’ may still
be needed for ‘gfortran 4.3.x’.
</P></LI>

</UL>
<H4>2.12.2 PACKAGE INSTALLATION </H4>
<UL>
<LI><P>
A ‘LazyDataCompression’ field in the ‘DESCRIPTION’ file will be used to
set the value for the ‘--data-compress’ option of ‘R CMD INSTALL’.
</P></LI>

<LI><P>
Files ‘R/sysdata.rda’ of more than 1Mb are now stored in the lazyload
database using ‘xz’ compression: this for example halves the installed
size of package ‘Imap’.
</P></LI>

<LI><P>
‘R CMD INSTALL’ now ensures that directories installed from ‘inst’ have
search permission for everyone.
</P>
<P>
It no longer installs files ‘inst/doc/Rplots.ps’ and
‘inst/doc/Rplots.pdf’.  These are almost certainly left-overs from
‘Sweave’ runs, and are often large.
</P></LI>

</UL>
<H4>2.12.2 DEPRECATED &amp; DEFUNCT </H4>
<UL>
<LI><P>
The ‘experimental’ alternative specification of a name space via
‘.Export()’ etc is now deprecated.
</P></LI>

<LI><P>
‘zip.file.extract()’ is now deprecated.
</P></LI>

<LI><P>
Zip-ing data sets in packages (and hence ‘R CMD INSTALL --use-zip-data’
and the ‘ZipData: yes’ field in a ‘DESCRIPTION’ file) is deprecated:
using efficiently compressed ‘.rda’ images and lazy-loading of data has
superseded it.
</P></LI>

</UL>
<H4>2.12.2 BUG FIXES </H4>
<UL>
<LI><P>
‘identical()’ could in rare cases generate a warning about non-pairlist
attributes on CHARSXPs.  As these are used for internal purposes, the
attribute check should be skipped.  (Reported by Niels Richard Hansen).
</P></LI>

<LI><P>
If the filename extension (usually ‘.Rnw’) was not included in a call
to ‘Sweave()’, source references would not work properly and the
‘keep.source’ option failed.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14459">PR#14459</a>)
</P></LI>

<LI><P>
‘format.data.frame()’ now keeps zero character column names.
</P></LI>

<LI><P>
‘pretty(x)’ no longer raises an error when ‘x’ contains solely
non-finite values. (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14468">PR#14468</a>)
</P></LI>

<LI><P>
The ‘plot.TukeyHSD()’ function now uses a line width of 0.5 for its
reference lines rather than ‘lwd = 0’ (which caused problems for some
PDF and PostScript viewers).
</P></LI>

<LI><P>
The ‘big.mark’ argument to ‘prettyNum()’, ‘format()’, etc. was inserted
reversed if it was more than one character long.
</P></LI>

<LI><P>
‘R CMD check’ failed to check the filenames under ‘man’ for Windows'
reserved names.
</P></LI>

<LI><P>
The ‘&quot;Date&quot;’ and ‘&quot;POSIXt&quot;’ methods for ‘seq()’ could overshoot when
‘to’ was supplied and ‘by’ was specified in months or years.
</P></LI>

<LI><P>
The internal method of ‘untar()’ now restores hard links as file copies
rather than symbolic links (which did not work for cross-directory
links).
</P></LI>

<LI><P>
‘unzip()’ did not handle zip files which contained filepaths with two
or more leading directories which were not in the zipfile and did not
already exist.  (It is unclear if such zipfiles are valid and the
third-party C code used did not support them, but <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14462">PR#14462</a> created
one.)
</P></LI>

<LI><P>
‘combn(n, m)’ now behaves more regularly for the border case m = 0.
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14473">PR#14473</a>)
</P></LI>

<LI><P>
The rendering of numbers in plotmath expressions (e.g.
‘expression(10^2)’) used the current settings for conversion to strings
rather than setting the defaults, and so could be affected by what has
been done before.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14477">PR#14477</a>)
</P></LI>

<LI><P>
The methods of ‘napredict()’ and ‘naresid()’ for ‘na.action =
na.exclude’ fits did not work correctly in the very rare event that
every case had been omitted in the fit.  (Reported by Simon Wood.)
</P></LI>

<LI><P>
‘weighted.residuals(drop0=TRUE)’ returned a vector when the residuals
were a matrix (e.g. those of class ‘&quot;mlm&quot;’).  (Reported by Bill
Dunlap.)
</P></LI>

<LI><P>
Package HTML index files ‘&lt;pkg&gt;/html/00Index.html’ were generated with
a stylesheet reference that was not correct for static browsing in
libraries.
</P></LI>

<LI><P>
‘ccf(na.action = na.pass)’ was not implemented.
</P></LI>

<LI><P>
The parser accepted some incorrect numeric constants, e.g. ‘20x2’.
(Reported by Olaf Mersmann.)
</P></LI>

<LI><P>
‘format(*, zero.print)’ did not always replace the full zero parts.
</P></LI>

<LI><P>
Fixes for subsetting or subassignment of ‘&quot;raster&quot;’ objects when not
both ‘i’ and ‘j’ are specified.
</P></LI>

<LI><P>
‘R CMD INSTALL’ was not always respecting the ‘ZipData: yes’ field of a
‘DESCRIPTION’ file (although this is frequently incorrectly specified
for packages with no data or which specify lazy-loading of data).
</P>
<P>
‘R CMD INSTALL --use-zip-data’ was incorrectly implemented as
‘--use-zipdata’ since R 2.9.0.
</P></LI>

<LI><P>
‘source(file, echo=TRUE)’ could fail if the file contained ‘#line’
directives.  It now recovers more gracefully, but may still display the
wrong line if the directive gives incorrect information.
</P></LI>

<LI><P>
‘atan(1i)’ returned ‘NaN+Infi’ (rather than ‘0+Infi’) on platforms
without C99 complex support.
</P></LI>

<LI><P>
‘library()’ failed to cache S4 metadata (unlike ‘loadNamespace()’)
causing failures in S4-using packages without a namespace (e.g. those
using reference classes).
</P></LI>

<LI><P>
The function ‘qlogis(lp, log.p=TRUE)’ no longer prematurely overflows
to ‘Inf’ when exp(lp) is close to 1.
</P></LI>

<LI><P>
Updating S4 methods for a group generic function requires resetting the
methods tables for the members of the group (patch contributed by
Martin Morgan).
</P></LI>

<LI><P>
In some circumstances (including for package ‘XML’), ‘R CMD INSTALL’
installed version-control directories from source packages.
</P></LI>

<LI><P>
Added ‘PROTECT’ calls to some constructed expressions used in C level
‘eval’ calls.
</P></LI>

<LI><P>
‘utils:::create.post()’ (used by ‘bug.report()’ and ‘help.request()’)
failed to quote arguments to the mailer, and so often failed.
</P></LI>

<LI><P>
‘bug.report()’ was naive about how to extract maintainer email
addresses from package descriptions, so would often try mailing to
incorrect addresses.
</P></LI>

<LI><P>
‘debugger()’ could fail to read the environment of a call to a function
with a ‘...’ argument.  (Reported by Charlie Roosen.)
</P></LI>

<LI><P>
‘prettyNum(c(1i, NA), drop0=TRUE)’ or ‘str(NA_complex_)’ now work
correctly.
</P></LI>

</UL>
<H4>2.12.1 NEW FEATURES </H4>
<UL>
<LI><P>
The DVI/PDF reference manual now includes the help pages for all the
standard packages: ‘splines’, ‘stats4’ and ‘tcltk’ were previously
omitted (intentionally).
</P></LI>

<LI><P>
&lt;URL: http://www.rforge.net&gt; has been added to the default set of
repositories known to ‘setRepositories()’.
</P></LI>

<LI><P>
xz-utils has been updated to version 5.0.0.
</P></LI>

<LI><P>
‘reshape()’ now makes use of ‘sep’ when forming names during reshaping
to wide format.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14435">PR#14435</a>)
</P></LI>

<LI><P>
‘legend()’ allows the length of lines to be set by the end user _via_
the new argument ‘seg.len’.
</P></LI>

<LI><P>
New S4 reference class utility methods ‘copy()’, ‘field()’,
‘getRefClass()’ and ‘getClass()’ have been added to package ‘methods’.
</P></LI>

<LI><P>
When a character value is used for the ‘EXPR’ argument in ‘switch()’, a
warning is given if more than one unnamed alternative value is given.
This will become an error in R 2.13.0.
</P></LI>

<LI><P>
‘StructTS(type = &quot;BSM&quot;)’ now allows series with just two seasons.
(Reported by Birgit Erni.)
</P></LI>

</UL>
<H4>2.12.1 INSTALLATION </H4>
<UL>
<LI><P>
The PDF reference manual is now built as PDF version 1.5 with object
compression, which on platforms for which this is not the default
(notably MiKTeX) halves its size.
</P></LI>

<LI><P>
Variable ‘FCLIBS’ can be set during configuration, for any additional
library flags needed when linking a shared object with the Fortran 9x
compiler.  (Needed with Solaris Studio 12.2.)
</P></LI>

</UL>
<H4>2.12.1 BUG FIXES </H4>
<UL>
<LI><P>
‘seq.int()’ no longer sometimes evaluates arguments twice.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14388">PR#14388</a>)
</P></LI>

<LI><P>
The ‘data.frame’ method of ‘format()’ failed if a column name was
longer than 256 bytes (the maximum length allowed for an R name).
</P></LI>

<LI><P>
‘predict(&lt;lm object&gt;, type =&quot;terms&quot;, ...)’ failed if both ‘terms’ and
‘interval’ were specified.  (Reported by Bill Dunlap.)
</P>
<P>
Also, if ‘se.fit = TRUE’ the standard errors were reported for all
terms, not just those selected by a non-null ‘terms’.
</P></LI>

<LI><P>
The TRE regular expressions engine could terminate R rather than give
an error when given certain invalid regular expressions.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14398">PR#14398</a>)
</P></LI>

<LI><P>
‘cmdscale(eig = TRUE)’ was documented to return n-1 eigenvalues but in
fact only returned ‘k’.  It now returns all n eigenvalues.
</P>
<P>
‘cmdscale(add = TRUE)’ failed to centre the return configuration and
sometimes lost the labels on the points.  Its return value was
described wrongly (it is always a list and contains component ‘ac’).
</P></LI>

<LI><P>
‘promptClass()’ in package ‘methods’ now works for reference classes
and gives a suitably specialized skeleton of documentation.
</P>
<P>
Also, ‘callSuper()’ now works via the ‘methods()’ invocation as well as
for initially specified methods.
</P></LI>

<LI><P>
‘download.file()’ could leave the destination file open if the URL was
not able to be opened.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14414">PR#14414</a>)
</P></LI>

<LI><P>
Assignment of an environment to functions or as an attribute to other
objects now works for S4 subclasses of ‘&quot;environment&quot;’.
</P></LI>

<LI><P>
Use of ‘[[&lt;-’ for S4 subclasses of ‘&quot;environment&quot;’ generated an
infinite recursion from the method.  The method has been replaced by
internal code.
</P></LI>

<LI><P>
In a reference class S4 method, ‘callSuper()’ now works in
‘initialize()’ methods when there is no explicit superclass method.
</P></LI>

<LI><P>
‘!’ dropped attributes such as names and dimensions from a length-zero
argument.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14424">PR#14424</a>)
</P></LI>

<LI><P>
When ‘list2env()’ created an environment it was missing a ‘PROTECT’
call and so was vulnerable to garbage collection.
</P></LI>

<LI><P>
‘Sweave()’ with ‘keep.source=TRUE’ dropped comments at the start and
end of code chunks.  It could also fail when ‘\SweaveInput’ was
combined with named chunks.
</P></LI>

<LI><P>
The Fortran code used by ‘nls(algorithm = &quot;port&quot;)’ could infinite-loop
when compiled with high optimization on a modern version of ‘gcc’, and
‘SAFE_FFLAGS’ is now used to make this less likely.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14427">PR#14427</a>, seen
with 32-bit Windows using ‘gcc 4.5.0’ used from R 2.12.0.)
</P></LI>

<LI><P>
‘sapply()’ with default ‘simplify = TRUE’ and ‘mapply()’ with default
‘SIMPLIFY = TRUE’ wrongly simplified language-like results, as, e.g.,
in ‘mapply(1:2, c(3,7), FUN = function(i,j) call(':',i,j))’.
</P></LI>

<LI><P>
Backreferences to undefined patterns in ‘[g]sub(pcre = TRUE)’ could
cause a segfault.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14431">PR#14431</a>)
</P></LI>

<LI><P>
The ‘format()’ (and hence the ‘print()’) method for class ‘&quot;Date&quot;’
rounded fractional dates towards zero: it now always rounds them down.
</P></LI>

<LI><P>
Reference S4 class creation could generate ambiguous inheritance
patterns under very special circumstances.
</P></LI>

<LI><P>
‘[[&lt;-’ turned S4 subclasses of ‘&quot;environment&quot;’ into plain environments.
</P></LI>

<LI><P>
Long titles for help pages were truncated in package indices and a few
other places.
</P></LI>

<LI><P>
Additional utilities now work correctly with S4 subclasses of
‘&quot;environment&quot;’ (‘rm’, locking tools and active bindings).
</P></LI>

<LI><P>
‘spec.ar()’ now also work for the ‘&quot;ols&quot;’ method.  (Reported by
Hans-Ruedi Kuensch.)
</P></LI>

<LI><P>
The initialization of objects from S4 subclasses of ‘&quot;environment&quot;’ now
allocates a new environment object.
</P></LI>

<LI><P>
‘R CMD check’ has more protection against (probably erroneous) example
or test output which is invalid in the current locale.
</P></LI>

<LI><P>
‘qr.X()’ with column names and pivoting now also pivots the column
names.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14438">PR#14438</a>)
</P></LI>

<LI><P>
‘unit.pmax()’ and ‘unit.pmin()’ in package ‘grid’ gave incorrect
results when all inputs were of length 1.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14443">PR#14443</a>)
</P></LI>

<LI><P>
The parser for ‘NAMESPACE’ files ignored misspelled directives, rather
than signalling an error.  For 2.12.x a warning will be issued, but
this will be correctly reported as an error in later releases.
(Reported by Charles Berry.)
</P></LI>

<LI><P>
Fix for subsetting of ‘&quot;raster&quot;’ objects when only one of ‘i’ or ‘j’ is
specified.
</P></LI>

<LI><P>
‘grid.raster()’ in package ‘grid’ did not accept ‘&quot;nativeRaster&quot;’
objects (like ‘rasterImage()’ does).
</P></LI>

<LI><P>
Rendering raster images in PDF output was resetting the clipping
region.
</P></LI>

<LI><P>
Rendering of raster images on Cairo X11 device was wrong, particularly
when a small image was being scaled up using interpolation.
</P>
<P>
With Cairo &lt; 1.6, will be better than before, though still a little
clunky.  With Cairo &gt;= 1.6, should be sweet as.
</P></LI>

<LI><P>
Several bugs fixed in ‘read.DIF()’: single column inputs caused errors,
cells marked as ‘&quot;character&quot;’ could be converted to other types, and
(in Windows) copying from the clipboard failed.
</P></LI>

</UL>
<H4>2.12.0 NEW FEATURES </H4>
<UL>
<LI><P>
Reading a package's ‘CITATION’ file now defaults to ASCII rather than
Latin-1: a package with a non-ASCII ‘CITATION’ file should declare an
encoding in its ‘DESCRIPTION’ file and use that encoding for the
‘CITATION’ file.
</P></LI>

<LI><P>
‘difftime()’ now defaults to the ‘&quot;tzone&quot;’ attribute of ‘&quot;POSIXlt&quot;’
objects rather than to the current timezone as set by the default for
the ‘tz’ argument.  (Wish of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14182">PR#14182</a>.)
</P></LI>

<LI><P>
‘pretty()’ is now generic, with new methods for ‘&quot;Date&quot;’ and ‘&quot;POSIXt&quot;’
classes (based on code contributed by Felix Andrews).
</P></LI>

<LI><P>
‘unique()’ and ‘match()’ are now faster on character vectors where all
elements are in the global ‘CHARSXP’ cache and have unmarked encoding
(ASCII).  Thanks to Matthew Dowle for suggesting improvements to the
way the hash code is generated in ‘unique.c’.
</P></LI>

<LI><P>
The ‘enquote()’ utility, in use internally, is exported now.
</P></LI>

<LI><P>
‘.C()’ and ‘.Fortran()’ now map non-zero return values (other than
‘NA_LOGICAL’) for logical vectors to ‘TRUE’: it has been an implicit
assumption that they are treated as true.
</P></LI>

<LI><P>
The ‘print()’ methods for ‘&quot;glm&quot;’ and ‘&quot;lm&quot;’ objects now insert
linebreaks in long calls in the same way that the ‘print()’ methods for
‘&quot;summary.[g]lm&quot;’ objects have long done.  This does change the layout
of the examples for a number of packages, e.g. ‘MASS’.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14250">PR#14250</a>)
</P></LI>

<LI><P>
‘constrOptim()’ can now be used with method ‘&quot;SANN&quot;’.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14245">PR#14245</a>)
</P>
<P>
It gains an argument ‘hessian’ to be passed to ‘optim()’, which allows
all the ‘...’ arguments to be intended for ‘f()’ and ‘grad()’.
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14071">PR#14071</a>)
</P></LI>

<LI><P>
‘curve()’ now allows ‘expr’ to be an object of mode ‘&quot;expression&quot;’ as
well as ‘&quot;call&quot;’ and ‘&quot;function&quot;’.
</P></LI>

<LI><P>
The ‘&quot;POSIX[cl]t&quot;’ methods for ‘Axis()’ have been replaced by a single
method for ‘&quot;POSIXt&quot;’.
</P>
<P>
There are no longer separate ‘plot()’ methods for ‘&quot;POSIX[cl]t&quot;’ and
‘&quot;Date&quot;’: the default method has been able to handle those classes for
a long time.  This _inter alia_ allows a single date-time object to be
supplied, the wish of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14016">PR#14016</a>.
</P>
<P>
The methods had a different default (‘&quot;&quot;’) for ‘xlab’.
</P></LI>

<LI><P>
Classes ‘&quot;POSIXct&quot;’, ‘&quot;POSIXlt&quot;’ and ‘&quot;difftime&quot;’ have generators
‘.POSIXct()’, ‘.POSIXlt()’ and ‘.difftime()’.  Package authors are
advised to make use of them (they are available from R 2.11.0) to proof
against planned future changes to the classes.
</P>
<P>
The ordering of the classes has been changed, so ‘&quot;POSIXt&quot;’ is now the
second class.  See the document ‘Updating packages for changes in R
2.12.x’ on &lt;URL: http://developer.r-project.org&gt; for the consequences
for a handful of CRAN packages.
</P></LI>

<LI><P>
The ‘&quot;POSIXct&quot;’ method of ‘as.Date()’ allows a timezone to be specified
(but still defaults to UTC).
</P></LI>

<LI><P>
New ‘list2env()’ utility function as an inverse of
‘as.list(&lt;environment&gt;)’ and for fast multi-‘assign()’ to existing
environment.  ‘as.environment()’ is now generic and uses ‘list2env()’
as list method.
</P></LI>

<LI><P>
There are several small changes to output which ‘zap’ small numbers,
e.g. in printing quantiles of residuals in summaries from ‘&quot;lm&quot;’ and
‘&quot;glm&quot;’ fits, and in test statistics in ‘print.anova()’.
</P></LI>

<LI><P>
Special names such as ‘&quot;dim&quot;’, ‘&quot;names&quot;’, etc, are now allowed as slot
names of S4 classes, with ‘&quot;class&quot;’ the only remaining exception.
</P></LI>

<LI><P>
File ‘.Renviron’ can have architecture-specific versions such as
‘.Renviron.i386’ on systems with sub-architectures.
</P></LI>

<LI><P>
‘installed.packages()’ has a new argument ‘subarch’ to filter on
sub-architecture.
</P></LI>

<LI><P>
The ‘summary()’ method for ‘packageStatus()’ now has a separate
‘print()’ method.
</P></LI>

<LI><P>
The default ‘summary()’ method returns an object inheriting from class
‘&quot;summaryDefault&quot;’ which has a separate ‘print()’ method that calls
‘zapsmall()’ for numeric/complex values.
</P></LI>

<LI><P>
The startup message now includes the platform and if used,
sub-architecture: this is useful where different (sub-)architectures
run on the same OS.
</P></LI>

<LI><P>
The ‘getGraphicsEvent()’ mechanism now allows multiple windows to
return graphics events, through the new functions
‘setGraphicsEventHandlers()’, ‘setGraphicsEventEnv()’, and
‘getGraphicsEventEnv()’.  (Currently implemented in the ‘windows()’ and
‘X11()’ devices.)
</P></LI>

<LI><P>
‘tools::texi2dvi()’ gains an ‘index’ argument, mainly for use by ‘R CMD
Rd2pdf’.
</P>
<P>
It avoids the use of ‘texindy’ by ‘texinfo’'s ‘texi2dvi &gt;= 1.157’,
since that does not emulate 'makeindex' well enough to avoid problems
with special characters (such as ‘(’, ‘{’, ‘!’) in indices.
</P></LI>

<LI><P>
The ability of ‘readLines()’ and ‘scan()’ to re-encode inputs to marked
UTF-8 strings on Windows since R 2.7.0 is extended to non-UTF-8 locales
on other OSes.
</P></LI>

<LI><P>
‘scan()’ gains a ‘fileEncoding’ argument to match ‘read.table()’.
</P></LI>

<LI><P>
‘points()’ and ‘lines()’ gain ‘&quot;table&quot;’ methods to match ‘plot()’.
(Wish of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=10472">PR#10472</a>.)
</P></LI>

<LI><P>
‘Sys.chmod()’ allows argument ‘mode’ to be a vector, recycled along
‘paths’.
</P></LI>

<LI><P>
There are ‘|’, ‘&amp;’ and ‘xor()’ methods for classes ‘&quot;octmode&quot;’ and
‘&quot;hexmode&quot;’, which work bitwise.
</P></LI>

<LI><P>
Environment variables ‘R_DVIPSCMD’, ‘R_LATEXCMD’, ‘R_MAKEINDEXCMD’,
‘R_PDFLATEXCMD’ are no longer used nor set in an R session.  (With the
move to ‘tools::texi2dvi()’, the conventional environment variables
‘LATEX’, ‘MAKEINDEX’ and ‘PDFLATEX’ will be used.
‘options(&quot;dvipscmd&quot;)’ defaults to the value of ‘DVIPS’, then to
‘&quot;dvips&quot;’.)
</P></LI>

<LI><P>
New function ‘isatty()’ to see if terminal connections are redirected.
</P></LI>

<LI><P>
‘summaryRprof()’ returns the sampling interval in component
‘sample.interval’ and only returns in ‘by.self’ data for functions with
non-zero self times.
</P></LI>

<LI><P>
‘print(x)’ and ‘str(x)’ now indicate if an empty list ‘x’ is named.
</P></LI>

<LI><P>
‘install.packages()’ and ‘remove.packages()’ with ‘lib’ unspecified and
multiple libraries in ‘.libPaths()’ inform the user of the library
location used with a message rather than a warning.
</P></LI>

<LI><P>
There is limited support for multiple compressed streams on a file: all
of ‘[bgx]zfile()’ allow streams to be appended to an existing file, but
‘bzfile()’ reads only the first stream.
</P></LI>

<LI><P>
Function ‘person()’ in package ‘utils’ now uses a given/family scheme
in preference to first/middle/last, is vectorized to handle an
arbitrary number of persons, and gains a ‘role’ argument to specify
person roles using a controlled vocabulary (the MARC relator terms).
</P></LI>

<LI><P>
Package ‘utils’ adds a new ‘&quot;bibentry&quot;’ class for representing and
manipulating bibliographic information in enhanced BibTeX style,
unifying and enhancing the previously existing mechanisms.
</P></LI>

<LI><P>
A ‘bibstyle()’ function has been added to the ‘tools’ package with
default JSS style for rendering ‘&quot;bibentry&quot;’ objects, and a mechanism
for registering other rendering styles.
</P></LI>

<LI><P>
Several aspects of the display of text help are now customizable using
the new ‘Rd2txt_options()’ function.  options(‘&quot;help_text_width&quot;’) is
no longer used.
</P></LI>

<LI><P>
Added ‘\href’ tag to the Rd format, to allow hyperlinks to URLs without
displaying the full URL.
</P></LI>

<LI><P>
Added ‘\newcommand’ and ‘\renewcommand’ tags to the Rd format, to allow
user-defined macros.
</P></LI>

<LI><P>
New ‘toRd()’ generic in the ‘tools’ package to convert objects to
fragments of Rd code, and added ‘&quot;fragment&quot;’ argument to ‘Rd2txt()’,
‘Rd2HTML()’, and ‘Rd2latex()’ to support it.
</P></LI>

<LI><P>
Directory ‘R_HOME/share/texmf’ now follows the TDS conventions, so can
be set as a ‘texmf’ tree (‘root directory’ in MiKTeX parlance).
</P></LI>

<LI><P>
S3 generic functions now use correct S4 inheritance when dispatching on
an S4 object.  See ‘?Methods’, section on “Methods for S3 Generic
Functions” for recommendations and details.
</P></LI>

<LI><P>
‘format.pval()’ gains a ‘...’ argument to pass arguments such as
‘nsmall’ to ‘format()’.  (Wish of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=9574">PR#9574</a>)
</P></LI>

<LI><P>
‘legend()’ supports ‘title.adj’.  (Wish of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=13415">PR#13415</a>)
</P></LI>

<LI><P>
Added support for subsetting ‘&quot;raster&quot;’ objects, plus assigning to a
subset, conversion to a matrix (of colour strings), and comparisons
(‘==’ and ‘!=’).
</P></LI>

<LI><P>
Added a new ‘parseLatex()’ function (and related functions
‘deparseLatex()’ and ‘latexToUtf8()’) to support conversion of
bibliographic entries for display in R.
</P></LI>

<LI><P>
Text rendering of ‘\itemize’ in help uses a Unicode bullet in UTF-8 and
most single-byte Windows locales.
</P></LI>

<LI><P>
Added support for polygons with holes to the graphics engine.  This is
implemented for the ‘pdf()’, ‘postscript()’, ‘x11(type=&quot;cairo&quot;)’,
‘windows()’, and ‘quartz()’ devices (and associated raster formats),
but not for ‘x11(type=&quot;Xlib&quot;)’ or ‘xfig()’ or ‘pictex()’.  The
user-level interface is the ‘polypath()’ function in ‘graphics’ and
‘grid.path()’ in ‘grid’.
</P></LI>

<LI><P>
File ‘NEWS’ is now generated at installation with a slightly different
format: it will be in UTF-8 on platforms using UTF-8, and otherwise in
ASCII.  There is also a PDF version, ‘NEWS.pdf’, installed at the
top-level of the R distribution.
</P></LI>

<LI><P>
‘kmeans(x, 1)’ now works.  Further, ‘kmeans’ now returns between and
total sum of squares.
</P></LI>

<LI><P>
‘arrayInd()’ and ‘which()’ gain an argument ‘useNames’.  For
‘arrayInd’, the default is now false, for speed reasons.
</P></LI>

<LI><P>
As is done for closures, the default ‘print’ method for the formula
class now displays the associated environment if it is not the global
environment.
</P></LI>

<LI><P>
A new facility has been added for inserting code into a package without
re-installing it, to facilitate testing changes which can be
selectively added and backed out.  See ‘?insertSource’.
</P></LI>

<LI><P>
New function ‘readRenviron’ to (re-)read files in the format of
‘~/.Renviron’ and ‘Renviron.site’.
</P></LI>

<LI><P>
‘require()’ will now return ‘FALSE’ (and not fail) if loading the
package or one of its dependencies fails.
</P></LI>

<LI><P>
‘aperm()’ now allows argument ‘perm’ to be a character vector when the
array has named dimnames (as the results of ‘table()’ calls do).
Similarly, ‘array()’ allows ‘MARGIN’ to be a character vector.  (Based
on suggestions of Michael Lachmann.)
</P></LI>

<LI><P>
Package ‘utils’ now exports and documents functions
‘aspell_package_Rd_files()’ and ‘aspell_package_vignettes()’ for spell
checking package Rd files and vignettes using Aspell, Ispell or
Hunspell.
</P></LI>

<LI><P>
Package news can now be given in Rd format, and ‘news()’ prefers these
‘inst/NEWS.Rd’ files to old-style plain text ‘NEWS’ or ‘inst/NEWS’
files.
</P></LI>

<LI><P>
New simple function ‘packageVersion()’.
</P></LI>

<LI><P>
The PCRE library has been updated to version 8.10.
</P></LI>

<LI><P>
The standard Unix-alike terminal interface declares its name to
readline as 'R', so that can be used for conditional sections in
‘~/.inputrc’ files.
</P></LI>

<LI><P>
‘Writing R Extensions’ now stresses that the standard sections in ‘.Rd’
files (other than ‘\alias’, ‘\keyword’ and ‘\note’) are intended to be
unique, and the conversion tools now drop duplicates with a warning.
</P>
<P>
The ‘.Rd’ conversion tools also warn about an unrecognized type in a
‘\docType’ section.
</P></LI>

<LI><P>
‘ecdf()’ objects now have a ‘quantile()’ method.
</P></LI>

<LI><P>
‘format()’ methods for date-time objects now attempt to make use of a
‘&quot;tzone&quot;’ attribute with ‘&quot;%Z&quot;’ and ‘&quot;%z&quot;’ formats, but it is not
always possible.  (Wish of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14358">PR#14358</a>.)
</P></LI>

<LI><P>
‘tools::texi2dvi(file, clean = TRUE)’ now works in more cases (e.g.
where emulation is used and when ‘file’ is not in the current
directory).
</P></LI>

<LI><P>
New function ‘droplevels()’ to remove unused factor levels.
</P></LI>

<LI><P>
‘system(command, intern = TRUE)’ now gives an error on a Unix-alike (as
well as on Windows) if ‘command’ cannot be run.  It reports a
non-success exit status from running ‘command’ as a warning.
</P>
<P>
On a Unix-alike an attempt is made to return the actual exit status of
the command in ‘system(intern = FALSE)’: previously this had been
system-dependent but on POSIX-compliant systems the value return was
256 times the status.
</P></LI>

<LI><P>
‘system()’ has a new argument ‘ignore.stdout’ which can be used to
(portably) ignore standard output.
</P></LI>

<LI><P>
‘system(intern = TRUE)’ and ‘pipe()’ connections are guaranteed to be
available on all builds of R.
</P></LI>

<LI><P>
‘Sys.which()’ has been altered to return ‘&quot;&quot;’ if the command is not
found (even on Solaris).
</P></LI>

<LI><P>
A facility for defining reference-based S4 classes (in the OOP style of
Java, C++, etc.) has been added experimentally to package ‘methods’;
see ‘?ReferenceClasses’.
</P></LI>

<LI><P>
The ‘predict’ method for ‘&quot;loess&quot;’ fits gains an ‘na.action’ argument
which defaults to ‘na.pass’ rather than the previous default of
‘na.omit’.
</P>
<P>
Predictions from ‘&quot;loess&quot;’ fits are now named from the row names of
‘newdata’.
</P></LI>

<LI><P>
Parsing errors detected during ‘Sweave()’ processing will now be
reported referencing their original location in the source file.
</P></LI>

<LI><P>
New ‘adjustcolor()’ utility, e.g., for simple translucent color
schemes.
</P></LI>

<LI><P>
‘qr()’ now has a trivial ‘lm’ method with a simple (fast) validity
check.
</P></LI>

<LI><P>
An experimental new programming model has been added to package
‘methods’ for reference (OOP-style) classes and methods.  See
‘?ReferenceClasses’.
</P></LI>

<LI><P>
bzip2 has been updated to version 1.0.6 (bug-fix release).
‘--with-system-bzlib’ now requires at least version 1.0.6.
</P></LI>

<LI><P>
R now provides ‘jss.cls’ and ‘jss.bst’ (the class and bib style file
for the Journal of Statistical Software) as well as ‘RJournal.bib’ and
‘Rnews.bib’, and ‘R CMD’ ensures that the ‘.bst’ and ‘.bib’ files are
found by BibTeX.
</P></LI>

<LI><P>
Functions using the ‘TAR’ environment variable no longer quote the
value when making ‘system’ calls.  This allows values such as ‘tar
--force-local’, but does require additional quotes in, e.g., ‘TAR =
&quot;'/path with spaces/mytar'&quot;’.
</P></LI>

</UL>
<H4>2.12.0 DEPRECATED &amp; DEFUNCT </H4>
<UL>
<LI><P>
Supplying the parser with a character string containing both octal/hex
and Unicode escapes is now an error.
</P></LI>

<LI><P>
File extension ‘.C’ for C++ code files in packages is now defunct.
</P></LI>

<LI><P>
‘R CMD check’ no longer supports configuration files containing Perl
configuration variables: use the environment variables documented in ‘R
Internals’ instead.
</P></LI>

<LI><P>
The ‘save’ argument of ‘require()’ now defaults to ‘FALSE’ and ‘save =
TRUE’ is now deprecated.  (This facility is very rarely actually used,
and was superseded by the ‘Depends’ field of the ‘DESCRIPTION’ file
long ago.)
</P></LI>

<LI><P>
‘R CMD check --no-latex’ is deprecated in favour of ‘--no-manual’.
</P></LI>

<LI><P>
‘R CMD Sd2Rd’ is formally deprecated and will be removed in R 2.13.0.
</P></LI>

</UL>
<H4>2.12.0 PACKAGE INSTALLATION </H4>
<UL>
<LI><P>
‘install.packages()’ has a new argument ‘libs_only’ to optionally pass
‘--libs-only’ to ‘R CMD INSTALL’ and works analogously for Windows
binary installs (to add support for 64- or 32-bit Windows).
</P></LI>

<LI><P>
When sub-architectures are in use, the installed architectures are
recorded in the ‘Archs’ field of the ‘DESCRIPTION’ file.  There is a
new default filter, ‘&quot;subarch&quot;’, in ‘available.packages()’ to make use
of this.
</P>
<P>
Code is compiled in a copy of the ‘src’ directory when a package is
installed for more than one sub-architecture: this avoid problems with
cleaning the sources between building sub-architectures.
</P></LI>

<LI><P>
‘R CMD INSTALL --libs-only’ no longer overrides the setting of locking,
so a previous version of the package will be restored unless
‘--no-lock’ is specified.
</P></LI>

</UL>
<H4>2.12.0 UTILITIES </H4>
<UL>
<LI><P>
‘R CMD Rprof|build|check’ are now based on R rather than Perl scripts.
The only remaining Perl scripts are the deprecated ‘R CMD Sd2Rd’ and
‘install-info.pl’ (used only if ‘install-info’ is not found) as well as
some maintainer-mode-only scripts.
</P>
<P>
*NB:* because these have been completely rewritten, users should not
expect undocumented details of previous implementations to have been
duplicated.
</P>
<P>
‘R CMD’ no longer manipulates the environment variables ‘PERL5LIB’ and
‘PERLLIB’.
</P></LI>

<LI><P>
‘R CMD check’ has a new argument ‘--extra-arch’ to confine tests to
those needed to check an additional sub-architecture.
</P>
<P>
Its check for “Subdirectory 'inst' contains no files” is more thorough:
it looks for files, and warns if there are only empty directories.
</P>
<P>
Environment variables such as ‘R_LIBS’ and those used for customization
can be set for the duration of checking _via_ a file
‘~/.R/check.Renviron’ (in the format used by ‘.Renviron’, and with
sub-architecture specific versions such as ‘~/.R/check.Renviron.i386’
taking precedence).
</P>
<P>
There are new options ‘--multiarch’ to check the package under all of
the installed sub-architectures and ‘--no-multiarch’ to confine
checking to the sub-architecture under which ‘check’ is invoked.  If
neither option is supplied, a test is done of installed
sub-architectures and all those which can be run on the current OS are
used.
</P>
<P>
Unless multiple sub-architectures are selected, the install done by
‘check’ for testing purposes is only of the current sub-architecture
(_via_ ‘R CMD INSTALL --no-multiarch’).
</P>
<P>
It will skip the check for non-ascii characters in code or data if the
environment variables ‘_R_CHECK_ASCII_CODE_’ or ‘_R_CHECK_ASCII_DATA_’
are respectively set to ‘FALSE’.  (Suggestion of Vince Carey.)
</P></LI>

<LI><P>
‘R CMD build’ no longer creates an ‘INDEX’ file (‘R CMD INSTALL’ does
so), and ‘--force’ removes (rather than overwrites) an existing ‘INDEX’
file.
</P>
<P>
It supports a file ‘~/.R/build.Renviron’ analogously to ‘check’.
</P>
<P>
It now runs build-time ‘\Sexpr’ expressions in help files.
</P></LI>

<LI><P>
‘R CMD Rd2dvi’ makes use of ‘tools::texi2dvi()’ to process the package
manual.  It is now implemented entirely in R (rather than partially as
a shell script).
</P></LI>

<LI><P>
‘R CMD Rprof’ now uses ‘utils::summaryRprof()’ rather than Perl.  It
has new arguments to select one of the tables and to limit the number
of entries printed.
</P></LI>

<LI><P>
‘R CMD Sweave’ now runs R with ‘--vanilla’ so the environment setting
of ‘R_LIBS’ will always be used.
</P></LI>

</UL>
<H4>2.12.0 C-LEVEL FACILITIES </H4>
<UL>
<LI><P>
‘lang5()’ and ‘lang6()’ (in addition to pre-existing ‘lang[1-4]()’)
convenience functions for easier construction of ‘eval()’ calls.  If
you have your own definition, do wrap it inside ‘#ifndef lang5 ....
#endif’ to keep it working with old and new R.
</P></LI>

<LI><P>
Header ‘R.h’ now includes only the C headers it itself needs, hence no
longer includes ‘errno.h’.  (This helps avoid problems when it is
included from C++ source files.)
</P></LI>

<LI><P>
Headers ‘Rinternals.h’ and ‘R_ext/Print.h’ include the C++ versions of
‘stdio.h’ and ‘stdarg.h’ respectively if included from a C++ source
file.
</P></LI>

</UL>
<H4>2.12.0 INSTALLATION </H4>
<UL>
<LI><P>
A C99 compiler is now required, and more C99 language features will be
used in the R sources.
</P></LI>

<LI><P>
Tcl/Tk &gt;= 8.4 is now required (increased from 8.3).
</P></LI>

<LI><P>
System functions ‘access’, ‘chdir’ and ‘getcwd’ are now essential to
configure R.  (In practice they have been required for some time.)
</P></LI>

<LI><P>
‘make check’ compares the output of the examples from several of the
base packages to reference output rather than the previous output (if
any).  Expect some differences due to differences in floating-point
computations between platforms.
</P></LI>

<LI><P>
File ‘NEWS’ is no longer in the sources, but generated as part of the
installation.  The primary source for changes is now ‘doc/NEWS.Rd’.
</P></LI>

<LI><P>
The ‘popen’ system call is now required to build R.  This ensures the
availability of ‘system(intern = TRUE)’, ‘pipe()’ connections and
printing from ‘postscript()’.
</P></LI>

<LI><P>
The ‘pkg-config’ file ‘libR.pc’ now also works when R is installed
using a sub-architecture.
</P></LI>

<LI><P>
R has always required a BLAS that conforms to IE60559 arithmetic, but
after discovery of more real-world problems caused by a BLAS that did
not, this is tested more thoroughly in this version.
</P></LI>

</UL>
<H4>2.12.0 BUG FIXES </H4>
<UL>
<LI><P>
Calls to ‘selectMethod()’ by default no longer cache inherited methods.
This could previously corrupt methods used by ‘as()’.
</P></LI>

<LI><P>
The densities of non-central chi-squared are now more accurate in some
cases in the extreme tails, e.g. ‘dchisq(2000, 2, 1000)’, as a series
expansion was truncated too early.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14105">PR#14105</a>)
</P></LI>

<LI><P>
‘pt()’ is more accurate in the left tail for ‘ncp’ large, e.g.
‘pt(-1000, 3, 200)’.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14069">PR#14069</a>)
</P></LI>

<LI><P>
The default C function (‘R_binary’) for binary ops now sets the S4 bit
in the result if either argument is an S4 object.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=13209">PR#13209</a>)
</P></LI>

<LI><P>
‘source(echo=TRUE)’ failed to echo comments that followed the last
statement in a file.
</P></LI>

<LI><P>
S4 classes that contained one of ‘&quot;matrix&quot;’, ‘&quot;array&quot;’ or ‘&quot;ts&quot;’ and
also another class now accept superclass objects in ‘new()’.  Also
fixes failure to call ‘validObject()’ for these classes.
</P></LI>

<LI><P>
Conditional inheritance defined by argument ‘test’ in
‘methods::setIs()’ will no longer be used in S4 method selection
(caching these methods could give incorrect results).  See ‘?setIs’.
</P></LI>

<LI><P>
The signature of an implicit generic is now used by ‘setGeneric()’ when
that does not use a definition nor explicitly set a signature.
</P></LI>

<LI><P>
A bug in ‘callNextMethod()’ for some examples with ‘&quot;...&quot;’ in the
arguments has been fixed.  See file
‘src/library/methods/tests/nextWithDots.R’ in the sources.
</P></LI>

<LI><P>
‘match(x, table)’ (and hence ‘%in%’) now treat ‘&quot;POSIXlt&quot;’ consistently
with, e.g., ‘&quot;POSIXct&quot;’.
</P></LI>

<LI><P>
Built-in code dealing with environments (‘get()’, ‘assign()’,
‘parent.env()’, ‘is.environment()’ and others) now behave consistently
to recognize S4 subclasses; ‘is.name()’ also recognizes subclasses.
</P></LI>

<LI><P>
The ‘abs.tol’ control parameter to ‘nlminb()’ now defaults to ‘0.0’ to
avoid false declarations of convergence in objective functions that may
go negative.
</P></LI>

<LI><P>
The standard Unix-alike termination dialog to ask whether to save the
workspace takes a EOF response as ‘n’ to avoid problems with a damaged
terminal connection.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14332">PR#14332</a>)
</P></LI>

<LI><P>
Added ‘warn.unused’ argument to ‘hist.default()’ to allow suppression
of spurious warnings about graphical parameters used with ‘plot=FALSE’.
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14341">PR#14341</a>)
</P></LI>

<LI><P>
‘predict.lm()’, ‘summary.lm()’, and indeed ‘lm()’ itself had issues
with residual DF in zero-weighted cases (the latter two only in
connection with empty models). (Thanks to Bill Dunlap for spotting the
‘predict()’ case.)
</P></LI>

<LI><P>
‘aperm()’ treated ‘resize = NA’ as ‘resize = TRUE’.
</P></LI>

<LI><P>
‘constrOptim()’ now has an improved convergence criterion, notably for
cases where the minimum was (very close to) zero; further, other tweaks
inspired from code proposals by Ravi Varadhan.
</P></LI>

<LI><P>
Rendering of S3 and S4 methods in man pages has been corrected and made
consistent across output formats.
</P></LI>

<LI><P>
Simple markup is now allowed in ‘\title’ sections in ‘.Rd’ files.
</P></LI>

<LI><P>
The behaviour of ‘as.logical()’ on factors (to use the levels) was lost
in R 2.6.0 and has been restored.
</P></LI>

<LI><P>
‘prompt()’ did not backquote some default arguments in the ‘\usage’
section.  (Reported by Claudia Beleites.)
</P></LI>

<LI><P>
‘writeBin()’ disallows attempts to write 2GB or more in a single call.
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14362">PR#14362</a>)
</P></LI>

<LI><P>
‘new()’ and ‘getClass()’ will now work if Class is a subclass of
‘&quot;classRepresentation&quot;’ and should also be faster in typical calls.
</P></LI>

<LI><P>
The ‘summary()’ method for data frames makes a better job of names
containing characters invalid in the current locale.
</P></LI>

<LI><P>
‘[[’ sub-assignment for factors could create an invalid factor
(reported by Bill Dunlap).
</P></LI>

<LI><P>
‘Negate(f)’ would not evaluate argument ‘f’ until first use of returned
function (reported by Olaf Mersmann).
</P></LI>

<LI><P>
‘quietly=FALSE’ is now also an optional argument of ‘library()’, and
consequently, ‘quietly’ is now propagated also for loading dependent
packages, e.g., in ‘require(*, quietly=TRUE)’.
</P></LI>

<LI><P>
If the loop variable in a ‘for’ loop was deleted, it would be recreated
as a global variable.  (Reported by Radford Neal; the fix includes his
optimizations as well.)
</P></LI>

<LI><P>
Task callbacks could report the wrong expression when the task involved
parsing new code. (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14368">PR#14368</a>)
</P></LI>

<LI><P>
‘getNamespaceVersion()’ failed; this was an accidental change in
2.11.0. (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14374">PR#14374</a>)
</P></LI>

<LI><P>
‘identical()’ returned ‘FALSE’ for external pointer objects even when
the pointer addresses were the same.
</P></LI>

<LI><P>
‘L$a@x[] &lt;- val’ did not duplicate in a case it should have.
</P></LI>

<LI><P>
‘tempfile()’ now always gives a random file name (even if the directory
is specified) when called directly after startup and before the R RNG
had been used.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14381">PR#14381</a>)
</P></LI>

<LI><P>
‘quantile(type=6)’ behaved inconsistently.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14383">PR#14383</a>)
</P></LI>

<LI><P>
‘backSpline(.)’ behaved incorrectly when the knot sequence was
decreasing.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14386">PR#14386</a>)
</P></LI>

<LI><P>
The reference BLAS included in R was assuming that ‘0*x’ and ‘x*0’ were
always zero (whereas they could be ‘NA’ or ‘NaN’ in IEC 60559
arithmetic).  This was seen in results from ‘tcrossprod’, and for
example that ‘log(0) %*% 0’ gave ‘0’.
</P></LI>

<LI><P>
The calculation of whether text was completely outside the device
region (in which case, you draw nothing) was wrong for screen devices
(which have [0, 0] at top-left).  The symptom was (long) text
disappearing when resizing a screen window (to make it smaller).
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14391">PR#14391</a>)
</P></LI>

<LI><P>
‘model.frame(drop.unused.levels = TRUE)’ did not take into account ‘NA’
values of factors when deciding to drop levels. (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14393">PR#14393</a>)
</P></LI>

<LI><P>
‘library.dynam.unload’ required an absolute path for ‘libpath’.
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14385">PR#14385</a>)
</P>
<P>
Both ‘library()’ and ‘loadNamespace()’ now record absolute paths for
use by ‘searchpaths()’ and ‘getNamespaceInfo(ns, &quot;path&quot;)’.
</P></LI>

<LI><P>
The self-starting model ‘NLSstClosestX’ failed if some deviation was
exactly zero.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14384">PR#14384</a>)
</P></LI>

<LI><P>
‘X11(type = &quot;cairo&quot;)’ (and other devices such as ‘png’ using
cairographics) and which use Pango font selection now work around a bug
in Pango when very small fonts (those with sizes between 0 and 1 in
Pango's internal units) are requested.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14369">PR#14369</a>)
</P></LI>

<LI><P>
Added workaround for the font problem with ‘X11(type = &quot;cairo&quot;)’ and
similar on Mac OS X whereby italic and bold styles were interchanged.
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=13463">PR#13463</a> amongst many other reports.)
</P></LI>

<LI><P>
‘source(chdir = TRUE)’ failed to reset the working directory if it
could not be determined - that is now an error.
</P></LI>

<LI><P>
Fix for crash of ‘example(rasterImage)’ on ‘x11(type=&quot;Xlib&quot;)’.
</P></LI>

<LI><P>
Force Quartz to bring the on-screen display up-to-date immediately
before the snapshot is taken by ‘grid.cap()’ in the Cocoa
implementation. (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14260">PR#14260</a>)
</P></LI>

<LI><P>
‘model.frame’ had an unstated 500 byte limit on variable names.
(Example reported by Terry Therneau.)
</P></LI>

<LI><P>
The 256-byte limit on names is now documented.
</P></LI>

<LI><P>
Subassignment by ‘[’, ‘[[’ or ‘$’ on an expression object with value
‘NULL’ coerced the object to a list.
</P></LI>

</UL>
<H4>2.11.1 patched NEW FEATURES </H4>
<UL>
<LI><P>
‘install.packages()’ has a new optional argument ‘INSTALL_opts’ which
can be used to pass options to ‘R CMD INSTALL’ for source-package
installs.
</P></LI>

<LI><P>
‘R CMD check’ now runs the package-specific tests with ‘LANGUAGE=en’ to
facilitate comparison to ‘.Rout.save’ files.
</P></LI>

<LI><P>
‘sessionInfo()’ gives more detailed platform information, including
32/64-bit and the sub-architecture if one is used.
</P></LI>

</UL>
<H4>2.11.1 patched DEPRECATED &amp; DEFUNCT </H4>
<UL>
<LI><P>
The use of Perl configuration variables for ‘R CMD check’ (as
previously documented in ‘Writing R Extensions’) is deprecated and will
be removed in R 2.12.0.  Use the environment variables documented in ‘R
Internals’ instead.
</P></LI>

</UL>
<H4>2.11.1 patched BUG FIXES </H4>
<UL>
<LI><P>
‘R CMD Rd2dvi’ failed if run from a path containing space(s).  This
also affected ‘R CMD check’, which calls ‘Rd2dvi’.
</P></LI>

<LI><P>
‘stripchart()’ could fail with an empty factor level.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14317">PR#14317</a>)
</P></LI>

<LI><P>
Text help rendering of ‘\tabular{}’ has been improved: under some
circumstances leading blank columns were not rendered.
</P></LI>

<LI><P>
‘strsplit(x, fixed=TRUE)’ marked UTF-8 strings with the local encoding
when no splits were found.
</P></LI>

<LI><P>
‘weighted.mean(NA, na.rm=TRUE)’ and similar now returns ‘NaN’ again, as
it did prior to R 2.10.0.
</P></LI>

<LI><P>
‘R CMD’ had a typo in its detection of whether the environment variable
‘TEXINPUTS’ was set (reported by Martin Morgan).
</P></LI>

<LI><P>
The command-line parser could mistake ‘--file=size...’ for one of the
options for setting limits for Ncells or Vcells.
</P></LI>

<LI><P>
The internal ‘strptime()’ could corrupt its copy of the timezone which
would then lead to spurious warnings. (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14338">PR#14338</a>)
</P></LI>

<LI><P>
‘dir.create(recursive = TRUE)’ could fail if one of the components
existed but was a directory on a read-only file system.  (Seen on
Solaris, where the error code returned is not even listed as possible
on the man page.)
</P></LI>

<LI><P>
The ‘postscript()’ and ‘pdf()’ devices will now allow ‘lwd’ values less
than 1 (they used to force such values to be 1).
</P></LI>

<LI><P>
Fixed font face for CID fonts in ‘pdf()’ graphics output.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14326">PR#14326</a>)
</P></LI>

<LI><P>
‘GERaster()’ now checks for width or height of zero and does nothing in
those cases; previously the behaviour was undefined, probably
device-specific, and possibly dangerous.
</P></LI>

<LI><P>
‘wilcox.test(x, y, conf.int = TRUE)’ failed with an unhelpful message
if ‘x’ and ‘y’ were constant vectors, and similarly in the one-sample
case.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14329">PR#14329</a>)
</P></LI>

<LI><P>
Improperly calling ‘Recall()’ from outside a function could cause a
segfault.  (Reported by Robert McGehee.)
</P></LI>

<LI><P>
‘\Sexpr[result=rd]’ in an Rd file added a spurious newline, which was
displayed as extra whitespace when rendered.
</P></LI>

<LI><P>
‘require(save = TRUE)’ recorded the names of packages it failed to
load.
</P></LI>

<LI><P>
‘packageStatus()’ could return a data frame with duplicate row names
which could then not be printed.
</P></LI>

<LI><P>
‘txtProgressBar(style = 2)’ did not work correctly.
</P>
<P>
‘txtProgressBar(style = 3)’ did not display until a non-minimum value
was set.
</P></LI>

<LI><P>
‘contour()’ did not display dashed line types properly when contour
lines were labelled. (Reported by David B. Thompson.)
</P></LI>

<LI><P>
‘tools::undoc()’ again detects undocumented data objects.  Of course,
this also affects ‘R CMD check’.
</P></LI>

<LI><P>
‘ksmooth(x,NULL)’ no longer segfaults.
</P></LI>

<LI><P>
‘approxfun()’, ‘approx()’, ‘splinefun()’ and ‘spline()’ could be
confused by ‘x’ values that were different but so close as to print
identically.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14377">PR#14377</a>)
</P></LI>

</UL>
<H4>2.11.1 NEW FEATURES </H4>
<UL>
<LI><P>
‘R CMD INSTALL’ checks if dependent packages are available early on in
the installation of source packages, thereby giving clearer error
messages.
</P></LI>

<LI><P>
‘R CMD INSTALL --build’ now names the file in the format used for Mac
OS X binary files on that platform.
</P></LI>

<LI><P>
‘BIC()’ in package ‘stats4’ now also works with multiple fitted models,
analogously to ‘AIC()’.
</P></LI>

</UL>
<H4>2.11.1 DEPRECATED &amp; DEFUNCT </H4>
<UL>
<LI><P>
Use of file extension ‘.C’ for C++ code in packages is now deprecated:
it has caused problems for some ‘make’s on case-insensitive file
systems (although it currently works with the recommended toolkits).
</P></LI>

</UL>
<H4>2.11.1 INSTALLATION </H4>
<UL>
<LI><P>
Command ‘gnutar’ is preferred to ‘tar’ when configure sets ‘TAR’.  This
is needed on Mac OS 10.6, where the default ‘tar’, ‘bsdtar 2.6.2’, has
been reported to produce archives with illegal extensions to tar
(according to the POSIX standard).
</P></LI>

</UL>
<H4>2.11.1 BUG FIXES </H4>
<UL>
<LI><P>
The C function ‘mkCharLenCE’ now no longer reads past ‘len’ bytes
(unlikely to be a problem except in user code).  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14246">PR#14246</a>)
</P></LI>

<LI><P>
On systems without any default ‘LD_LIBRARY_PATH’ (not even
‘/usr/local/lib’), ‘[DY]LIB_LIBRARY_PATH’ is now set without a trailing
colon.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=13637">PR#13637</a>)
</P></LI>

<LI><P>
More efficient implementation of ‘utf8ToInt()’ on long multi-byte
strings with many multi-byte characters.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14262">PR#14262</a>)
</P></LI>

<LI><P>
‘aggregate.ts()’ gave platform-dependent results due to rounding error
for ‘ndeltat != 1’.
</P></LI>

<LI><P>
‘package.skeleton()’ sometimes failed to fix filenames for ‘.R’ or
‘.Rd’ files to start with an alphanumeric.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14253">PR#14253</a>)
</P>
<P>
It also failed when only an S4 class without any methods was defined.
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14280">PR#14280</a>)
</P></LI>

<LI><P>
‘splinefun(method = ‘&quot;monoH.FC&quot;’)’ was not quite monotone in rare
cases.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14215">PR#14215</a>)
</P></LI>

<LI><P>
‘Rhttpd’ no longer crashes due to ‘SIGPIPE’ when the client closes the
connection prematurely.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14266">PR#14266</a>)
</P></LI>

<LI><P>
‘format.POSIXlt()’ could cause a stack overflow and crash when used on
very long vectors.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14267">PR#14267</a>)
</P></LI>

<LI><P>
‘Rd2latex()’ incorrectly escaped special characters in ‘\usage’
sections.
</P></LI>

<LI><P>
‘mcnemar.test()’ could alter the levels (dropping unused levels) if
passed ‘x’ and ‘y’ as factors (reported by Greg Snow).
</P></LI>

<LI><P>
‘Rd2pdf’ sometimes needed a further ‘pdflatex’ pass to get hyperlinked
pages correct.
</P></LI>

<LI><P>
‘interaction()’ produced malformed results when levels were duplicated,
causing segfaults in ‘split()’.
</P></LI>

<LI><P>
‘cut(d, breaks = &lt;n&gt;)’ now also works for ‘&quot;Date&quot;’ or ‘&quot;POSIXt&quot;’
argument ‘d’.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14288">PR#14288</a>)
</P></LI>

<LI><P>
‘memDecompress()’ could decompress incompletely rare ‘xz’-compressed
input due to incorrect documentation of ‘xz utils’.  (Report and patch
from Olaf Mersmann.)
</P></LI>

<LI><P>
The S4 ‘initialize()’ methods for ‘&quot;matrix&quot;’, ‘&quot;array&quot;’, and ‘&quot;ts&quot;’
have been fixed to call ‘validObject()’.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14284">PR#14284</a>)
</P></LI>

<LI><P>
‘R CMD INSTALL’ now behaves the same way with or without
‘--no-multiarch’ on platforms with only one installed architecture.
(It used to clean the ‘src’ directory without ‘--no-multiarch’.)
</P></LI>

<LI><P>
‘[&lt;-.data.frame’ was not quite careful enough in assigning (and
potentially deleting) columns right-to-left.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14263">PR#14263</a>)
</P></LI>

<LI><P>
‘rbeta(n, a, b)’ no longer occasionally returns ‘NaN’ for ‘a &gt;&gt; 1 &gt; b’.
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14291">PR#14291</a>)
</P></LI>

<LI><P>
‘pnorm(x, log.p = TRUE)’ could return ‘NaN’ not ‘-Inf’ for ‘x’ near
(minus for ‘lower.tail=TRUE’) the largest representable number.
</P></LI>

<LI><P>
Compressed data files ‘*.(txt|tab|csv).(gz|bz2|xz)’ were not recognized
for the list of data topics and hence for packages using ‘LazyData’.
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14273">PR#14273</a>)
</P></LI>

<LI><P>
‘textConnection()’ did an unnecessary translation on strings in a
foreign encoding (e.g. UTF-8 strings on Windows) and so was slower than
it could have been on very long input strings.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14286">PR#14286</a>)
</P></LI>

<LI><P>
‘tools::Rd2txt()’ did not render poorly written Rd files consistently
with other renderers.
</P>
<P>
It computed widths of strings that would be ‘print()’ed with escapes
incorrectly, for example in the computation of column width for
‘\tabular’.
</P></LI>

<LI><P>
‘na.action()’ did not extract the ‘na.action’ component as documented.
</P></LI>

<LI><P>
‘do.call()’ing ‘NextMethod’ in erronous ways no longer segfaults.
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=13487">PR#13487</a>)
</P></LI>

</UL>
<H4>2.11.0 SIGNIFICANT USER-VISIBLE CHANGES </H4>
<UL>
<LI><P>
Packages must have been installed under R &gt;= 2.10.0, as the current
help system is the only one now supported.
</P></LI>

<LI><P>
A port to 64-bit Windows is now available as well as binary package
repositiories: see the ‘R Administration and Installation Manual’.
</P></LI>

<LI><P>
Argument matching for primitive functions is now done in the same way
as for interpreted functions except for the deliberate exceptions
</P>
<P>
</P>
<P>
</P>
<P>
         call switch .C .Fortran .Call .External
</P>
<P>
</P>
<P>
all of which use positional matching for their first argument, and also
some internal-use-only primitives.
</P></LI>

<LI><P>
The default device for command-line R at the console on Mac OS X is now
‘quartz()’ and not ‘X11()’.
</P></LI>

</UL>
<H4>2.11.0 NEW FEATURES </H4>
<UL>
<LI><P>
The ‘open’ modes for connections are now interpreted more consistently.
‘open = &quot;r&quot;’ is now equivalent to ‘open = &quot;rt&quot;’ for all connections.
The default ‘open = &quot;&quot;’ now means ‘&quot;rt&quot;’ for all connections except the
compressed-file connections ‘gzfile()’, ‘bzfile()’ and ‘xzfile()’ for
which it means ‘&quot;rb&quot;’.
</P></LI>

<LI><P>
‘R CMD INSTALL’ now uses the internal ‘untar()’ function in package
‘utils’: this ensures that all platforms can install ‘bzip2’- and
‘xz’-compressed tarballs.  In case this causes problems (as it has on
some Windows file systems when run from Cygwin tools) it can be
overridden by the environment variable ‘R_INSTALL_TAR’: setting this to
a modern external tar program will speed up unpacking of large (tens of
Mb or more) tarballs.
</P></LI>

<LI><P>
‘help(try.all.packages = TRUE)’ is much faster (although the time taken
by the OS to find all the packages the first time it is used can
dominate the time).
</P></LI>

<LI><P>
‘R CMD check’ has a new option ‘--timings’ to record per-example
timings in file ‘&lt;pkg&gt;.Rcheck/&lt;pkg&gt;-Ex.timings’.
</P></LI>

<LI><P>
The TRE library has been updated to version 0.8.0 (minor bugfixes).
</P></LI>

<LI><P>
‘grep[l]’, ‘[g]sub’ and ‘[g]regexpr’ now work in bytes in an 8-bit
locales if there is no marked UTF-8 input string: this will be somewhat
faster, and for ‘[g]sub()’ give the result in the native encoding
rather than in UTF-8 (which returns to the behaviour prior to R
2.10.0).
</P></LI>

<LI><P>
A new argument ‘skipCalls’ has been added to ‘browser()’ so that it can
report the original context when called by other debugging functions.
</P></LI>

<LI><P>
More validity checking of UTF-8 and MBCS strings is done by ‘agrep()’
and the regular-expression matching functions.
</P></LI>

<LI><P>
The undocumented restriction on ‘gregexpr()’ to ‘length(text) &gt; 0’ has
been removed.
</P></LI>

<LI><P>
Package ‘tcltk’ now sends strings to Tcl in UTF-8: this means that
strings with a marked UTF-8 encoding are supported in non-UTF-8
locales.
</P></LI>

<LI><P>
The graphics engine now supports rendering of raster (bitmap) images,
though not all graphics devices can provide (full) support.  Packages
providing graphics devices (e.g., ‘Cairo’, ‘RSvgDevice’, ‘cairoDevice’)
will need to be reinstalled.
</P>
<P>
There is also support in the graphics engine for capturing raster
images from graphics devices (again not supported on all graphics
devices).
</P></LI>

<LI><P>
‘R CMD check’ now also checks if the package and namespace can be
unloaded: this provides a check of the ‘.Last.lib()’ and ‘.onUnload()’
hook functions (unless ‘--install=fake’).
</P></LI>

<LI><P>
‘prop.table(x)’ now accepts a one-dimensional table for ‘x’.
</P></LI>

<LI><P>
A new function ‘vapply()’ has been added, based on a suggestion from
Bill Dunlap.  It requires that a template for the function value be
specified, and uses it to determine the output type and to check for
consistency in the function values.
</P></LI>

<LI><P>
The main HTML help page now links to a reformatted copy of this ‘NEWS’
file.  (Suggested by Henrik Bengtsson.)  Package index files link to
the package ‘DESCRIPTION’ and ‘NEWS’ files and a list of demos when
using dynamic help.
</P></LI>

<LI><P>
The ‘[’ method for class ‘&quot;AsIs&quot;’ allows the next method to change the
underlying class.  (Wish of Jens Oehlschlägel.)
</P></LI>

<LI><P>
‘write.csv[2]’ no longer allow argument ‘append’ to be changed: as
ever, direct calls to ‘write.table()’ give more flexibility as well as
more room for error.
</P></LI>

<LI><P>
The index page for HTML help for a package now collapses multiple
signatures for S4 methods into a single entry.
</P></LI>

<LI><P>
The use of ‘.required’ by ‘require()’ and ‘detach()’ has been replaced
by ‘.Depends’ which is set from the ‘Depends’ field of a package (even
in packages with name spaces).  By default ‘detach()’ prevents such
dependencies from being detached: this can be overridden by the
argument ‘force’.
</P></LI>

<LI><P>
‘bquote()’ has been extended to work on function definitions.  (Wish of
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14031">PR#14031</a>).
</P></LI>

<LI><P>
‘detach()’ when applied to an object other than a package returns the
environment that has been detached, to parallel ‘attach()’.
</P></LI>

<LI><P>
‘readline()’ in non-interactive use returns ‘&quot;&quot;’ and does not attempt
to read from the ‘terminal’.
</P></LI>

<LI><P>
New function ‘file_ext()’ in package ‘tools’.
</P></LI>

<LI><P>
‘xtfrm()’ is now primitive and internally generic, as this allows S4
methods to be set on it without name-space scoping issues.
</P>
<P>
There are now ‘&quot;AsIs&quot;’ and ‘&quot;difftime&quot;’ methods, and the default method
uses ‘unclass(x)’ if ‘is.numeric(x)’ is true (which will be faster but
relies on ‘is.numeric()’ having been set correctly for the class).
</P></LI>

<LI><P>
‘is.numeric(x)’ is now false for a ‘&quot;difftime&quot;’ object (multiplication
and division make no sense for such objects).
</P></LI>

<LI><P>
The default method of ‘weighted.mean(x, w)’ coerces ‘w’ to be numeric
(aka double); previously only integer weights were coerced.  Zero
weights are handled specially so an infinite value with zero weight
does not force an ‘NaN’ result.
</P>
<P>
There is now a ‘&quot;difftime&quot;’ method.
</P></LI>

<LI><P>
‘bug.report()’ now has arguments ‘package’ and ‘lib.loc’ to generate
bug reports about packages.  When this is used, it looks for a
‘BugReports’ field in the package ‘DESCRIPTION’ file, which will be
assumed to be a URL at which to submit the report, and otherwise
generates an email to the package maintainer.  (Suggested by Barry
Rowlingson.)
</P></LI>

<LI><P>
‘quantile()’ now has a method for the date-time class ‘&quot;POSIXt&quot;’, and
types 1 and 3 (which never interpolate) work for Dates and ordered
factors.
</P></LI>

<LI><P>
‘length(&lt;POSIXlt&gt;)’ now returns the length of the corresponding
abstract timedate-vector rather than always 9 (the length of the
underlying list structure).  (Wish of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14073">PR#14073</a> and <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=10507">PR#10507</a>.)
</P></LI>

<LI><P>
The ‘readline’ completion backend no longer sorts possible completions
alphabetically (e.g., function argument names) if R was built with
‘readline &gt;= 6’.
</P></LI>

<LI><P>
‘select.list()’ gains a ‘graphics’ argument to allow Windows/Mac users
to choose the text interface.  This changes the behaviour of
‘new.packages(ask=TRUE)’ to be like ‘update.packages(ask=TRUE)’ on
those platforms in using a text menu: use ask=‘&quot;graphics&quot;’ for a
graphical menu.
</P></LI>

<LI><P>
New function ‘chooseBioCmirror()’ to set the ‘&quot;BioC_mirror&quot;’ option.
</P></LI>

<LI><P>
The R grammar now prevents using the argument ‘name’ in signatures of
S4 methods for ‘$’ and ‘$&lt;-’, since they will always be called with a
character string value for ‘name’.  The implicit S4 generic functions
have been changed to reflect this: packages which included ‘name’ in
the signature of their methods need to be updated and re-installed.
</P></LI>

<LI><P>
The handling of the ‘method’ argument of ‘glm()’ has been refined
following suggestions by Ioannis Kosmidis and Heather Turner.
</P></LI>

<LI><P>
‘str()’ gains a new argument ‘list.len’ with default 99, limiting the
number of ‘list()’ items (per level), thanks to suggestions from David
Winsenius.
</P></LI>

<LI><P>
Having formal arguments of an S4 method in a different order from the
generic is now an error (the warning having been ignored by some
package maintainers for a long time).
</P></LI>

<LI><P>
New functions ‘enc2native()’ and ‘enc2utf8()’ convert character vectors
with possibly marked encodings to the current locale and UTF-8
respectively.
</P></LI>

<LI><P>
Unrecognized escapes and embedded nuls in character strings are now an
error, not just a warning.  Thus option ‘&quot;warnEscapes&quot;’ is no longer
needed.  ‘rawToChar()’ now removes trailing nuls silently, but other
embedded nuls become errors.
</P></LI>

<LI><P>
Informational messages about masked objects displayed when a package is
attached are now more compact, using ‘strwrap()’ instead of one object
per line.
</P></LI>

<LI><P>
‘print.rle()’ gains argument ‘prefix’.
</P></LI>

<LI><P>
‘download.file()’ gains a ‘&quot;curl&quot;’ method, mainly for use on platforms
which have ‘curl’ but not ‘wget’, but also for some hard-to-access
URLs.
</P></LI>

<LI><P>
In ‘Rd’, ‘\eqn’ and ‘\deqn’ will render in HTML (and convert to text)
upper- and lower-case Greek letters (entered as ‘\alpha’ ...),
‘\ldots’, ‘...’, ‘\ge’ and ‘\le’.
</P></LI>

<LI><P>
‘utf8ToInt()’ and ‘intToUtf8()’ now map ‘NA’ inputs to ‘NA’ outputs.
</P></LI>

<LI><P>
‘file()’ has a new argument ‘raw’ which may help if it is used with
something other than a regular file, e.g. a character device.
</P></LI>

<LI><P>
New function ‘strtoi()’, a wrapper for the C function ‘strtol’.
</P></LI>

<LI><P>
‘as.octmode()’ and ‘as.hexmode()’ now allow inputs of length other than
one.
</P>
<P>
The ‘format()’ and ‘print()’ methods for ‘&quot;octmode&quot;’ now preserve names
and dimensions (as those for ‘&quot;hexmode&quot;’ did).
</P>
<P>
The ‘format()’ methods for classes ‘&quot;octmode&quot;’ and ‘&quot;hexmode&quot;’ gain a
‘width’ argument.
</P></LI>

<LI><P>
‘seq.int()’ returns an integer result in some further cases where
‘seq()’ does, e.g. ‘seq.int(1L, 9L, by = 2L)’.
</P></LI>

<LI><P>
Added ‘\subsection{}{}’ macro to Rd syntax, for subsections within
sections.
</P></LI>

<LI><P>
n-dimensional arrays with dimension names can now be indexed by an
n-column character matrix.  The indices are matched against the
dimension names.  ‘NA’ indices are propagated to the result.  Unmatched
values and ‘&quot;&quot;’ are not allowed and result in an error.
</P></LI>

<LI><P>
‘interaction(drop=TRUE)’ uses less memory (related to <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14121">PR#14121</a>).
</P></LI>

<LI><P>
‘summary()’ methods have been added to the ‘&quot;srcref&quot;’ and ‘&quot;srcfile&quot;’
classes, and various encoding issues have been cleaned up.
</P></LI>

<LI><P>
If option ‘&quot;checkPackageLicense&quot;’ is set to ‘TRUE’ (not currently the
default), users will be asked to agree to non-known-to-be-FOSS package
licences at first use.
</P></LI>

<LI><P>
Checking ‘setAs(a, b)’ methods only gives a message instead of a
warning, when one of ‘a’ or ‘b’ is unknown.
</P></LI>

<LI><P>
New function ‘norm()’ to compute a matrix norm.  ‘norm()’ and also
‘backsolve()’ and ‘sample()’ have implicit S4 generics.
</P></LI>

<LI><P>
Files ‘Renviron.site’ and ‘Rprofile.site’ can have
architecture-specific versions on systems with sub-architectures.
</P></LI>

<LI><P>
‘R CMD check’ now (by default) also checks Rd files for auto-generated
content in need of editing, and missing argument descriptions.
</P></LI>

<LI><P>
‘aggregate()’ gains a formula method thanks to a contribution by Arni
Magnusson.  The data frame method now allows summary functions to
return arbitrarily many values.
</P></LI>

<LI><P>
‘path.expand()’ now propagates ‘NA’ values rather than converting them
to ‘&quot;NA&quot;’.
</P></LI>

<LI><P>
‘file.show()’ now disallows ‘NA’ values for file names, headers, and
pager.
</P></LI>

<LI><P>
The ‘fuzz’ used by ‘seq()’ and ‘seq.int()’ has been reduced from ‘1e-7’
to ‘1e-10’, which should be ample for the double-precision calculations
used in R.  It ensures that the fuzz never comes into play with
sequences of integers (wish of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14169">PR#14169</a>).
</P></LI>

<LI><P>
The default value of ‘RSiteSearch(restrict=)’ has been changed to
include vignettes but to exclude R-help.  The R-help archives available
have been split, with a new option of ‘&quot;Rhelp10&quot;’ for those from 2010.
</P></LI>

<LI><P>
New function ‘rasterImage()’ in the ‘graphics’ package for drawing
raster images.
</P></LI>

<LI><P>
‘stats:::extractAIC.coxph()’ now omits aliased terms when computing the
degrees of freedom (suggestion of Terry Therneau).
</P></LI>

<LI><P>
‘cor()’ and ‘cov()’ now test for misuse with non-numeric arguments,
such as the non-bug report <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14207">PR#14207</a>.
</P></LI>

<LI><P>
‘pchisq(ncp =, log.p = TRUE)’ is more accurate for probabilities near
one.  E.g. ‘pchisq(80, 4, ncp=1, log.p=TRUE)’.  (Maybe what was meant
in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14216">PR#14216</a>.)
</P></LI>

<LI><P>
‘maintainer()’ has been added, to give convenient access to the name of
the maintainer of a package (contributed by David Scott).
</P></LI>

<LI><P>
‘sample()’ and ‘sample.int()’ allow zero items to be sampled from a
zero-length input.  ‘sample.int()’ gains a default value ‘size=n’ to be
more similar to ‘sample()’.
</P></LI>

<LI><P>
‘switch()’ returned ‘NULL’ on error (not previously documented on the
help page): it now does so invisibly, analogously to if-without-else.
</P>
<P>
It is now primitive: this means that argument ‘EXPR’ is always matched
to the first argument and there is no danger of partial matching to
later named arguments.
</P></LI>

<LI><P>
Primitive functions ‘UseMethod()’, ‘attr()’, ‘attr&lt;-()’, ‘on.exit()’,
‘retracemem()’ and ‘substitute()’ now use standard argument matching
(rather than positional matching).  This means that all multi-argument
primitives which are not internal now use standard argument matching
except where positional matching is desirable (as for ‘switch()’,
‘call()’, ‘.C()’ ...).
</P></LI>

<LI><P>
All the one-argument primitives now check that any name supplied for
their first argument is a partial match to the argument name as
documented on the help page: this also applies to replacement functions
of two arguments.
</P></LI>

<LI><P>
‘base::which()’ uses a new ‘.Internal’ function when ‘arr.ind’ is
‘FALSE’ resulting in a 10x speedup.  Thanks to Patrick Aboyoun for
implementation suggestions.
</P></LI>

<LI><P>
Help conversion to text now uses the first part of ‘\enc{}{}’ markup if
it is representable in the current output encoding.  On the other hand,
conversion to LaTeX with the default ‘outputEncoding = &quot;ASCII&quot;’ uses
the second part.
</P></LI>

<LI><P>
A new class ‘&quot;listOfMethods&quot;’ has been introduced to represent the
methods in a methods table, to replace the deprecated class
‘&quot;MethodsList&quot;’.
</P></LI>

<LI><P>
‘any()’ and ‘all()’ return early if possible.  This may speed up
operations on long vectors.
</P></LI>

<LI><P>
‘strptime()’ now accepts ‘&quot;%z&quot;’ (for the offset from UTC in the RFC822
format of ‘+/-hhmm’).
</P></LI>

<LI><P>
The PCRE library has been updated to version 8.02, a bug-fix release
which also updates tables to Unicode 5.02.
</P></LI>

<LI><P>
Functions which may use a graphical ‘select.list()’ (including ‘menu()’
and ‘install.packages()’) now check on a Unix-alike that Tk can be
started (and not just ‘capabilities(&quot;tcltk&quot;) &amp;&amp; capabilities(&quot;X11&quot;)’).
</P></LI>

<LI><P>
The parser no longer marks strings containing octal or hex escapes as
being in UTF-8 when entered in a UTF-8 locale.
</P></LI>

<LI><P>
On platforms with cairo but not Pango (notably Mac OS X) the initial
default ‘X11()’ type is set to ‘&quot;Xlib&quot;’: this avoids several problems
with font selection when done by cairo rather than Pango (at least on
Mac OS X).
</P></LI>

<LI><P>
New function ‘arrayInd()’ such that ‘which(x, arr.ind = TRUE)’ for an
array 'x' is now equivalent to ‘arrayInd(which(x), dim(x),
dimnames(x))’.
</P></LI>

</UL>
<H4>2.11.0 DEPRECATED &amp; DEFUNCT </H4>
<UL>
<LI><P>
Bundles of packages are defunct.
</P></LI>

<LI><P>
‘stats::clearNames()’ is defunct: use ‘unname()’.
</P></LI>

<LI><P>
Basic regular expressions are defunct, and ‘strsplit()’, ‘grep()’,
‘grepl()’, ‘sub()’, ‘gsub()’, ‘regexpr()’ and ‘gregexpr()’ no longer
have an ‘extended’ argument.
</P></LI>

<LI><P>
‘methods::trySilent()’ is defunct.
</P></LI>

<LI><P>
‘index.search()’ (which was deprecated in 2.10.0) is no longer exported
and has a different argument list.
</P></LI>

<LI><P>
Use of multiple arguments to ‘return()’ is now defunct.
</P></LI>

<LI><P>
The use of ‘UseMethod()’ with more than two arguments is now defunct.
</P></LI>

<LI><P>
In the ‘methods’ package, the ‘&quot;MethodsList&quot;’ metadata objects which
had been superseded by hash tables (environments) since R 2.8.0 are
being phased out.  Objects of this class are no longer assigned or used
as metadata by the package.
</P>
<P>
‘getMethods()’ is now deprecated, with its internal use replaced by
‘findMethods()’ and other changes.  Creating objects from the
‘&quot;MethodsList&quot;’ class is also deprecated.
</P></LI>

<LI><P>
Parsing strings containing both octal/hex and Unicode escapes now gives
a warning and will become an error in R 2.12.0.
</P></LI>

</UL>
<H4>2.11.0 INSTALLATION </H4>
<UL>
<LI><P>
UTF-8 is now used for the reference manual and package manuals.  This
requires LaTeX ‘2005/12/01’ or later.
</P></LI>

<LI><P>
‘configure’ looks for a POSIX compliant ‘tr’, Solaris's ‘/usr/ucb/tr’
having been found to cause ‘Rdiff’ to malfunction.
</P></LI>

<LI><P>
‘configure’ is now generated with ‘autoconf 2.65’, which works better
on recent systems and on Mac OS X.
</P></LI>

</UL>
<H4>2.11.0 PACKAGE INSTALLATION </H4>
<UL>
<LI><P>
Characters in R source which are not translatable to the current locale
are now handled more tolerantly: these will be converted to hex codes
with a warning.  Such characters are only really portable if they
appear in comments.
</P></LI>

<LI><P>
‘R CMD INSTALL’ now tests that the installed package can be loaded (and
backs out the installation if it cannot): this can be suppressed by
‘--no-test-load’.  This avoids installing/updating a package that
cannot be used: common causes of failures to load are
missing/incompatible external software and missing/broken dependent
packages.
</P></LI>

<LI><P>
Package installation on Windows for a package with a ‘src’ directory
now checks if a DLL is created unless there is a ‘src/Makefile.win’
file: this helps catch broken installations where the toolchain has not
reported problems in building the DLL.  (Note: this can be any DLL, not
just one named ‘&lt;pkg-name&gt;.dll’.)
</P></LI>

</UL>
<H4>2.11.0 BUG FIXES </H4>
<UL>
<LI><P>
Using ‘with()’, ‘eval()’ etc with a list with some unnamed elements now
works.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14035">PR#14035</a>)
</P></LI>

<LI><P>
The ‘&quot;quick&quot;’ dispatch of S4 methods for primitive functions was not
happening, forcing a search each time.  (Dispatch for closures was not
affected.)  A side effect is that default values for arguments in a
method that do not have defaults in the generic will now be ignored.
</P></LI>

<LI><P>
Trying to dispatch S4 methods for primitives during the search for
inherited methods slows that search down and potentially could cause an
infinite recursion.  An internal switch was added to turn off all such
methods from ‘findInheritedMethods()’.
</P></LI>

<LI><P>
R framework installation (on Mac OS X) would not work properly if a
rogue ‘Resources’ directory was present at the top level.  Such a
non-symlink will now be renamed to ‘Resources.old’ (and anything
previously named ‘Resources.old’ removed) as part of the framework
installation process.
</P></LI>

<LI><P>
The checks for conforming S4 method arguments could fail when the
signature of the generic function omitted some of the formal arguments
(in addition to ‘...’).  Arguments omitted from the method definition
but conforming (per the documentation) should now be ignored (treated
as ‘&quot;ANY&quot;’) in dispatching.
</P></LI>

<LI><P>
The computations for S4 method evaluation when ‘...’ was in the
signature could fail, treating ‘...’ as an ordinary symbol.  This has
been fixed, for the known cases.
</P></LI>

<LI><P>
Various ‘ar()’ fitting methods have more protection for singular fits.
</P></LI>

<LI><P>
‘callNextMethod’ now works again with the ‘drop=’ argument in ‘[’
</P></LI>

<LI><P>
‘parse()’ and ‘parse_Rd()’ miscounted columns when multibyte UTF-8
characters were present.
</P></LI>

<LI><P>
Formatting of help pages has had minor improvements: extra blank lines
have been removed from the text format, and empty package labels
removed from HTML.
</P></LI>

<LI><P>
‘cor(A, B)’ where ‘A’ is n x 1 and ‘B’ a 1-dimensional array segfaulted
or gave an internal error.  (The case ‘cor(B, A)’ was <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=7116">PR#7116</a>.)
</P></LI>

<LI><P>
‘cut.POSIXt()’ applied to a start value after the DST transition on a
DST-change day could give the wrong time for argument ‘breaks’ in units
of days or longer.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14208">PR#14208</a>)
</P></LI>

<LI><P>
‘do_par()’ ‘UNPROTECT’ed too early (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14214">PR#14214</a>)
</P></LI>

<LI><P>
Subassignment ‘x[[....]] &lt;- y’ didn't check for a zero-length right
hand side, and inserted a rubbish value.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14217">PR#14217</a>)
</P></LI>

<LI><P>
‘fisher.test()’ no longer gives a P-value *very* slightly &gt; 1, in some
borderline cases.
</P></LI>

<LI><P>
Internal function ‘matchArgs()’ no longer modifies the general purpose
bits of the ‘SEXP’s that make up the formals list of R functions.  This
fixes an invalid error message that would occur when a garbage
collection triggered a second call to matchArgs for the same function
_via_ a finalizer.
</P></LI>

<LI><P>
‘gsub()’ in 2.10.x could fail from stack overflow for extremely long
strings due to temporary data being allocated on the stack.  Also,
‘gsub()’ with ‘fixed=TRUE’ is in some circumstances considerably
faster.
</P></LI>

<LI><P>
Several primitives, including ‘attributes()’, ‘attr&lt;-()’
‘interactive()’, ‘nargs()’ and ‘proc.time()’, did not check that they
were called with the correct number of arguments.
</P></LI>

<LI><P>
A potential race condition in ‘list.files()’ when other processes are
operating on the directory has been fixed; the code now dynamically
allocates memory for file listings in a single pass instead of making
an initial count pass.
</P></LI>

<LI><P>
‘mean(x, trim=, na.rm = FALSE)’ failed to return ‘NA’ if ‘x’ contained
missing values.  (Reported by Bill Dunlap.)
</P></LI>

<LI><P>
Extreme tail behavior of, ‘pbeta()’ {and hence ‘pf()’}, e.g., ‘pbeta(x,
3, 2200, lower.tail=FALSE, log.p=TRUE)’ now returns finite values
instead of jumping to ‘-Inf’ too early.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14230">PR#14230</a>).
</P></LI>

<LI><P>
‘parse(text=x)’ misbehaved for objects ‘x’ that were not coerced
internally to character, notably symbols.  (Reported to R-devel by Bill
Dunlap.)
</P></LI>

<LI><P>
The internal C function ‘coerceSymbol’ now handles coercion to
character, and warns if coercion fails (rather than silently returning
‘NULL’).  This allows a name to be given where a character vector is
required in functions which coerce internally.
</P></LI>

<LI><P>
The interpretation by ‘strptime()’ of ‘&quot;%c&quot;’ was non-standard (not that
it is ever advisable to use locale- and system-specific input formats).
</P></LI>

<LI><P>
capabilities(‘&quot;X11&quot;’) now works the same way on Mac OS X as on other
platforms (and as documented: it was always true for R built with
‘--with-aqua’, as the CRAN builds are).
</P></LI>

<LI><P>
The ‘X11()’ device with cairo but not Pango (notably Mac OS X) now
checks validity of text strings in UTF-8 locales (since Pango does but
cairo it seems does not).
</P></LI>

<LI><P>
‘read.fwf()’ misread multi-line records when n was specified.
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14241">PR#14241</a>)
</P></LI>

<LI><P>
‘all.equal(tolerance = e)’ passes the numeric tolerance also to the
comparison of the attributes.
</P></LI>

<LI><P>
‘pgamma(0, 0)’, a boundary case, now returns 0, its limit from the
left, rather than the limit from the right.
</P></LI>

<LI><P>
Issuing ‘POST’ requests to the internal web server could stall the
request under certain circumstances.
</P></LI>

<LI><P>
‘gzcon( &lt;textConnection&gt; )’, an error, no longer damages the connection
(in a way to have it segfault).  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14237">PR#14237</a>)
</P></LI>

<LI><P>
All the results from ‘hist()’ now use the nominal ‘breaks’ not those
adjusted by the numeric ‘fuzz’: in recent versions the nominal ‘breaks’
were reported but the 'density' referred to the intervals used in the
calculation - which mattered very slightly for one of the extreme bins.
(Based on a report by Martin Becker.)
</P></LI>

<LI><P>
If ‘xy[z].coords’ (used internally by many graphics functions) are
given a list as ‘x’, they now check that the list has suitable names
and give a more informative error message.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=13936">PR#13936</a>)
</P></LI>

</UL>
<H4>2.10.1 patched NEW FEATURES </H4>
<UL>
<LI><P>
The handling of line textures in the ‘postscript()’ and ‘pdf()’ devices
was set up for round end caps (the only type which existed at the
time): it has now been adjusted for butt endcaps.
</P></LI>

<LI><P>
‘lchoose(a, k)’ is now defined as ‘log(abs(choose(a,k)))’, analogously
to ‘lfactorial()’.
</P></LI>

<LI><P>
Although ‘\eqn{}’ in Rd files is defined as a ‘verbatim’ macro, many
packages expected ‘...’ and ‘\ldots’ to be interpreted there (as was
the case in R &lt; 2.10.0), so this is now done (using an ellipsis in HTML
rendering).
</P></LI>

<LI><P>
Escaping of braces in quoted strings in R-code sections of Rd files is
allowed again.  This had been changed for the new Rd format in R 2.10.0
but was only documented on the developer site and was handled
inconsistently by the converters: text and example conversion removed
the escapes but HTML conversion did not.
</P></LI>

<LI><P>
The PCRE library has been updated to version 8.01, a bug-fix release.
</P></LI>

<LI><P>
‘tools::readNEWS()’ now accepts a digit as the first character of a
news section.
</P></LI>

</UL>
<H4>2.10.1 patched BUG FIXES </H4>
<UL>
<LI><P>
Using ‘read.table(header=TRUE)’ on a header with an embedded new line
would copy part of the header into the data.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14103">PR#14103</a>)
</P></LI>

<LI><P>
‘qpois(p = 1, lambda = 0)’ now gives 0 as for all other ‘p’.
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14135">PR#14135</a>)
</P></LI>

<LI><P>
Functions related to string comparison (e.g. ‘unique()’, ‘match()’)
could cause crashes when used with strings not in the native encoding,
e.g. UTF-8 strings on Windows.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14114">PR#14114</a> and <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14125">PR#14125</a>)
</P></LI>

<LI><P>
‘x[ , drop=TRUE]’ dropped an ‘NA’ level even if it was in use.
</P></LI>

<LI><P>
The dynamic HTML help system reported the wrong MIME type for the style
sheet.
</P></LI>

<LI><P>
‘tools::codoc()’ (used by ‘R CMD check’) was missing cases where the
function had no arguments but was documented to have some.
</P></LI>

<LI><P>
Help links containing special characters (e.g. ‘&quot;?&quot;’) were not
generated correctly when rendered in HTML.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14155">PR#14155</a>)
</P></LI>

<LI><P>
‘lchoose(a, k)’ no longer wrongly gives ‘NaN’ for negative ‘a’.
</P></LI>

<LI><P>
‘ks.test()’ could give a p-value that was off by one observation due to
rounding error.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14145">PR#14145</a>)
</P></LI>

<LI><P>
‘readBin()’/‘readChar()’ when reading millions of character strings in
a single call used excessive amounts of memory (which also slowed them
down).
</P></LI>

<LI><P>
‘R CMD SHLIB’ could fail if used with paths that were not alphanumeric,
e.g. contained ‘+’.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14168">PR#14168</a>)
</P></LI>

<LI><P>
‘sprintf()’ was not re-entrant, which potentially caused problems if an
‘as.character()’ method called it.
</P></LI>

<LI><P>
The ‘quartz()’ device did not restore the clipping region when filling
the background for a new page.  This could be observed in multi-page
bitmap output as stale outer regions of the plot.
</P></LI>

<LI><P>
‘p.adjust(method, n)’ now works correctly for the rare case ‘n &gt;
length(p)’, also when method differs from ‘&quot;bonferroni&quot;’ or ‘&quot;none&quot;’,
thanks to a patch from Gordon Smyth.
</P></LI>

<LI><P>
‘tools::showNonASCII()’ failed to detect non-ASCII characters if
‘iconv()’ (incorrectly) converted them to different ASCII characters.
(Seen on Windows only.)
</P></LI>

<LI><P>
‘tcrossprod()’ wrongly failed in some cases when one of the arguments
was a vector and the other a matrix.
</P></LI>

<LI><P>
‘[cr]bind(..., deparse.level=2)’ was not always giving names when
documented to do so.  (Discovered whilst investigating <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14189">PR#14189</a>.)
</P></LI>

<LI><P>
‘match(incomparables=&lt;non-NULL&gt;)’ could in rare cases infinite-loop.
</P></LI>

<LI><P>
‘poisson.test()’ needed to pass argument ‘conf.level’ to
‘binom.test()’.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14195">PR#14195</a>)
</P></LI>

<LI><P>
The ‘&quot;nls&quot;’ method for ‘df.residual()’ gave incorrect results for
models fitted with ‘na.action = na.exclude’.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14194">PR#14194</a>)
</P></LI>

<LI><P>
A change to ‘options(scipen=)’ was only implemented when printing next
occurred, even though it should have affected intervening calls to
‘axis()’, ‘contour()’ and ‘filledcontour()’.
</P></LI>

<LI><P>
‘prettyNum(drop0trailing=TRUE)’ did not handle signs of imaginary parts
of complex numbers correctly (and this was used by ‘str()’: <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14201">PR#14201</a>).
</P></LI>

<LI><P>
‘system.time()’ had the ‘sys.child’ component wrong (copied
‘user.child’ instead) on systems with ‘HAVE_GETRUSAGE’.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14210">PR#14210</a>)
</P></LI>

<LI><P>
Changing both line texture and line cap (end) resulted in the latter to
be omitted form the PDF code.  In addition, line cap (end) and join are
now set explicitly in PDF output to ensure correct defaults.
</P></LI>

<LI><P>
The suppression of auto-rotation in ‘bitmap()’ and ‘dev2bitmap()’ with
the ‘&quot;pdfwrite&quot;’ device was not working correctly.
</P></LI>

<LI><P>
‘plot(ecdf(), log=&quot;x&quot;)’ no longer gives an incorrect warning.
</P></LI>

<LI><P>
‘read.fwf()’ works again when argument ‘file’ is a connection.
</P></LI>

<LI><P>
Startup files will now be found if their paths exceed 255 bytes.
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14228">PR#14228</a>)
</P></LI>

<LI><P>
‘contrasts&lt;-’ (in the ‘stats’ package) no longer has an undeclared
dependence on ‘methods’ (introduced in 2.10.0).
</P></LI>

</UL>
<H4>2.10.1 NEW FEATURES </H4>
<UL>
<LI><P>
The PCRE library has been updated to version 8.00.
</P></LI>

<LI><P>
‘R CMD INSTALL’ has new options ‘--no-R’, ‘--no-libs’, ‘--no-data’,
‘--no-help’, ‘--no-demo’, ‘--no-exec’, and ‘--no-inst’ to suppress
installation of the specified part of the package.  These are intended
for special purposes (e.g. building a database of help pages without
fully installing all packages).
</P></LI>

<LI><P>
The documented line-length limit of 4095 bytes when reading from the
console now also applies also to ‘parse(file=&quot;&quot;)’ (which previously had
a limit of around 1024 bytes).
</P></LI>

<LI><P>
A Bioconductor mirror can be set for use by ‘setRepositories()’ _via_
the option ‘&quot;BioC_mirror&quot;’, e.g. the European mirror can be selected by
‘options(BioC_mirror=&quot;http://bioconductor.statistik.tu-dortmund.de&quot;)’.
</P></LI>

<LI><P>
Double-clicking in a ‘tk_select.list()’ list box now selects the item
and closes the list box (as happens on the Windows ‘select.list()’
widget).
</P></LI>

</UL>
<H4>2.10.1 INSTALLATION </H4>
<UL>
<LI><P>
‘configure’ will be able to find a usable ‘libtiff’ in some rare
circumstances where it did not previously (where ‘libtiff’ needed to be
linked explicitly against ‘-ljpeg’).
</P></LI>

<LI><P>
Making ‘refman.pdf’ works around a problem with the indexing with
‘hyperref 6.79d’ and later.
</P></LI>

</UL>
<H4>2.10.1 DEPRECATED &amp; DEFUNCT </H4>
<UL>
<LI><P>
The ‘extended’ argument is deprecated in ‘strsplit()’, ‘grep()’,
‘grepl()’, ‘sub()’, ‘gsub()’, ‘regexpr()’ and ‘gregexpr()’ (not just
the value ‘extended = FALSE’) and will be removed in R 2.11.0.
</P></LI>

</UL>
<H4>2.10.1 BUG FIXES </H4>
<UL>
<LI><P>
‘trigamma(x)’ and other ‘psigamma(x, n)’ calls are now accurate for
very large ‘abs(x)’.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14020">PR#14020</a>)
</P></LI>

<LI><P>
‘[g]sub(perl=FALSE, fixed=FALSE)’ could use excessive stack space when
used with a very long vector containing some non-ASCII strings.
</P></LI>

<LI><P>
The default method of ‘weighted.mean(na.rm = TRUE)’ did not omit
weights for ‘NA’ observations in 2.10.0.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14032">PR#14032</a>)
</P></LI>

<LI><P>
‘[g]regexpr(pattern, fixed = TRUE)’ returned match positions in bytes
(not characters) in an MBCS locale if ‘pattern’ was a single byte.
</P>
<P>
‘[g]sub(fixed = TRUE)’ with a single-byte pattern could conceivably
have matched part of a multibyte character in a non-UTF-8 MBCS.
</P></LI>

<LI><P>
‘findLineNum()’ and ‘setBreakpoint()’ would sometimes fail if the
specified file was not in the current directory.
</P></LI>

<LI><P>
Package ‘tcltk’'s ‘demo(tkdensity)’ was broken in 2.9.0 when ‘demo()’
was changed to set ‘par(ask = TRUE)’.
</P></LI>

<LI><P>
‘gsub()’ with backrefs could fail on extremely long strings (hundreds
of thousands of characters) due to integer overflow in a length
calculation.
</P></LI>

<LI><P>
‘abline(untf=TRUE)’ now uses a better x-grid in log-scale, e.g., for
‘plot(c(1,300), c(1,300), log=&quot;xy&quot;); abline(4,1, untf=TRUE)’.
</P></LI>

<LI><P>
‘detach()’/‘unloadNamespace()’ arrange to flush the package's lazyload
cache of R objects once the package/namespace is no longer needed.
</P></LI>

<LI><P>
There have been small fixes to the rendering of help, e.g. ‘\command’
is now rendered verbatim (so e.g. ‘--’ is not interpreted, <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14045">PR#14045</a>).
</P>
<P>
Also, there are many small changes to help files where the new
converters were not rendering them in the same way as before.
</P></LI>

<LI><P>
‘available.packages()’ would fail when run on a repository with no
packages meeting the filtering conditions.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14042">PR#14042</a>)
</P></LI>

<LI><P>
‘rep(x, times, each = 2)’ gave invalid results when the ‘times’
argument was a vector longer than ‘x’.  Reported by Bill Dunlap.
</P></LI>

<LI><P>
An error when ‘unloadNamespace()’ attempted to run the ‘.onUnload()’
function gave an error in the reporting function and so was not
reported properly.
</P></LI>

<LI><P>
Text help rendering did not handle very long input lines properly.
</P></LI>

<LI><P>
‘promptMethods()’ generated signature documentation improperly.
</P></LI>

<LI><P>
‘pgamma(x, a, lower.tail=FALSE)’ and ‘qgamma(...)’ are now considerably
more accurate in some regions for very small ‘a’.  ‘qgamma()’ now
correctly returns ‘0’ instead of ‘NaN’ in similar extreme cases, and
‘qgamma()’ no longer warns in the case of small ‘a’, see (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=12324">PR#12324</a>).
</P></LI>

<LI><P>
‘unname()’ now also removes names from a zero length vector.
</P></LI>

<LI><P>
Printing results from ‘ls.str()’ no longer evaluates unevaluated calls.
</P></LI>

<LI><P>
‘complete.cases()’ failed on a 0-column data frame argument.
(Underlies <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14066">PR#14066</a>.)
</P>
<P>
It could return nonsensical results if no input determined the number
of cases (seen in the no-segfault tests).
</P></LI>

<LI><P>
An error in ‘nls()’ with a long formula could cause a segfault.
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14059">PR#14059</a>)
</P></LI>

<LI><P>
‘qchisq(p, df, ncp, lower.tail = FALSE)’ with ‘ncp &gt;= 80’ was
inaccurate for small ‘p’ (as the help page said): it is now less
inaccurate.  (In part, <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=13999">PR#13999</a>.)
</P>
<P>
For ‘ncp’ less than but close to 80, ‘pchisq()’ and ‘qchisq()’ are more
accurate for probablilities very close to 1 (a series expansion was
truncated slightly too early).
</P>
<P>
‘pchisq(x, df, ncp)’ can no longer return values just larger than one
for large values of ‘ncp’.
</P></LI>

<LI><P>
‘intToUtf8()’ could fail when asked to produce 10Mb or more strings,
something it was never intended to do: unfortunately Windows crashed R
(other OSes reported a lack of resources).  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14068">PR#14068</a>)
</P></LI>

<LI><P>
‘chisq.test()’ could fail when given argument ‘x’ or ‘y’ which deparsed
to more than one line.  (Reported by Laurent Gauthier.)
</P></LI>

<LI><P>
S4 methods are uncached whenever the name space containing them is
unloaded (by ‘unloadNamespace()’ as well as by ‘detach(unload =
TRUE))’.
</P></LI>

<LI><P>
The internal record-keeping by ‘dyn.load’/‘dyn.unload’ was incomplete,
which could crash R if a DLL that registered ‘.External’ routines had
earlier been unloaded.
</P></LI>

<LI><P>
‘bessel[JY](x, nu)’ with ‘nu’ a negative integer (a singular case) is
now correct, analogously to ‘besselI()’, see <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=13556">PR#13556</a>.
</P></LI>

<LI><P>
‘tools::file_path_as_absolute()’ doubled the file separator when
applied to a file such as ‘&quot;/vmunix&quot;’ or (on Windows) ‘&quot;d:/afile&quot;’ in a
directory for which ‘getwd()’ would return a path with a trailing
separator (largely cosmetic, as reasonable file systems handle such a
path correctly).  (Perhaps what was meant by <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14078">PR#14078</a>.)
</P></LI>

<LI><P>
‘unsplit(drop = TRUE)’ applied to a data frame failed to pass ‘drop’ to
the computation of row names.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14084">PR#14084</a>)
</P></LI>

<LI><P>
The ‘&quot;difftime&quot;’ method of ‘mean()’ ignored its ‘na.rm’ argument.
</P></LI>

<LI><P>
‘tcltk::tk_select.list()’ is now more likely to remove the widget
immediately after selection is complete.
</P></LI>

<LI><P>
Adding/subtracting a ‘&quot;difftime&quot;’ object to/from a ‘&quot;POSIXt&quot;’ or
‘&quot;Date&quot;’ object works again (it was broken by the addition of
‘Ops.difftime’).
</P></LI>

<LI><P>
Conversion to latex of an Rd file with no aliases failed.
</P></LI>

<LI><P>
‘wilcox.test(conf.int=TRUE)’ has achieved.level corrected and, for
‘exact=FALSE’, now returns a ‘estimate’ component which does not depend
on the alternative used.
</P></LI>

<LI><P>
‘help.search()’ failed when the package argument was specified.
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14113">PR#14113</a>)
</P></LI>

<LI><P>
‘switch(EXPR = &quot;A&quot;)’ now returns ‘NULL’, as does ‘switch(1)’ (which
used to signal an error).
</P></LI>

</UL>
<H4>2.10.0 SIGNIFICANT USER-VISIBLE CHANGES </H4>
<UL>
<LI><P>
Package help is now converted from ‘Rd’ by the R-based converters that
were first introduced in 2.9.0.  This means
</P>
<P>
        • Packages that were installed by R-devel after 2009-08-09
          should not be used with earlier versions of R, and most
          aspects of package help (including the runnable examples)
          will be missing if they are so used.
</P>
<P>
        • Text, HTML and latex help and examples for packages installed
          under the new system are converted on-demand from stored
          parsed Rd files.  (Conversions stored in packages installed
          under R &lt; 2.10.0 are used if no parsed Rd files are found.
          It is recommended that such packages be re-installed.)
</P>
<P>
</P></LI>

<LI><P>
HTML help is now generated dynamically using an HTTP server running in
the R process and listening on the loopback interface.
</P>
<P>
        • Those worried about security implications of such a server
          can disable it by setting the environment variable
          ‘R_DISABLE_HTTPD’ to a non-empty value.  This disables
          ‘help.start()’ and HTML help (so text help is shown instead).
</P>
<P>
        • The Java/Javascript search engine has been replaced by an
          HTML interface to ‘help.search()’.  ‘help.start()’ no longer
          has an argument ‘searchEngine’ as it is no longer needed.
</P>
<P>
        • The HTML help can now locate cross-references of the form
          ‘\link[pkg]{foo}’ and ‘\link[pkg:foo]{bar}’ where ‘foo’ is an
          alias in the package, rather than the documented (basename of
          a) filename (since the documentation has been much ignored).
</P>
<P>
</P></LI>

</UL>
<H4>2.10.0 NEW FEATURES </H4>
<UL>
<LI><P>
‘polygon()’, ‘pdf()’ and ‘postscript()’ now have an argument
‘fillOddEven’ (default ‘FALSE’), which controls the mode used for
polygon fills of self-intersecting shapes.
</P></LI>

<LI><P>
New ‘debugonce()’ function; further, ‘getOption(&quot;deparse.max.lines&quot;)’
is now observed when debugging, from a code suggestion by John
Brzustowski.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=13647">PR#13647</a>/8)
</P></LI>

<LI><P>
‘plot()’ methods for ‘&quot;stepfun&quot;’ and hence ‘&quot;ecdf&quot;’ no longer plot
points by default for ‘n &gt;= 1000’.
</P></LI>

<LI><P>
‘[g]sub(perl=TRUE)’ now also supports ‘&quot;\E&quot;’ in order to *end* ‘&quot;\U&quot;’
and ‘&quot;\L&quot;’ case changes, thanks to a patch from Bill Dunlap.
</P></LI>

<LI><P>
‘factor()’, ‘levels()&lt;-’, etc, now ensure that the resulting factor
levels are unique (as was always the implied intention).  Factors with
duplicated levels are still constructible by low-level means, but are
now declared illegal.
</P></LI>

<LI><P>
New ‘print()’ (S3) method for class ‘&quot;function&quot;’, also used for
auto-printing.  Further, ‘.Primitive’ functions now print and
auto-print identically.  The new method is based on code suggestions by
Romain François.
</P></LI>

<LI><P>
The ‘print()’ and ‘toLatex()’ methods for class ‘&quot;sessionInfo&quot;’ now
show the locale in a nicer format and have arguments to suppress locale
information.
</P></LI>

<LI><P>
In addition to previously only ‘round()’, there are other ‘Math’ group
(S3) methods for ‘&quot;difftime&quot;’, such as ‘floor()’, ‘signif()’, ‘abs()’,
etc.
</P></LI>

<LI><P>
For completeness, ‘old.packages()’ and ‘available.packages()’ allow
arguments ‘type’ to be specified (you could always specify arguments
‘available’ or ‘contriburl’).
</P></LI>

<LI><P>
‘available.packages()’ by default only returns information on the
latest versions of packages whose version requirements are satisfied by
the currently running R.
</P></LI>

<LI><P>
‘tools::write_PACKAGES()’ has a new argument ‘latestOnly’, which
defaults to ‘TRUE’ when only the latest versions in the repository will
be listed in the index.
</P></LI>

<LI><P>
‘getOption()’ has a new argument ‘default’ that is returned if the
specified option is not set.  This simplifies querying a value and
checking whether it is ‘NULL’ or not.
</P></LI>

<LI><P>
‘parse()’ now warns if the requested encoding is not supported.
</P></LI>

<LI><P>
The ‘&quot;table&quot;’ method of ‘as.data.frame()’ gains a ‘stringsAsFactors’
argument to allow the classifying factors to be returned as character
vectors rather than the default factor type.
</P></LI>

<LI><P>
If ‘model.frame.default()’ encounters a character variable where ‘xlev’
indicates a factor, it now converts the variable to a factor (with a
warning).
</P></LI>

<LI><P>
‘curve()’ now returns a list containing the points that w§ere drawn.
</P></LI>

<LI><P>
‘spineplot()’ now accepts ‘axes = FALSE’, for consistency with other
functions called by ‘plot.factor()’.
</P></LI>

<LI><P>
The Kendall and Spearman methods of ‘cor.test()’ can optionally use
continuity correction when not computing exact p-values.  (The Kendall
case is the wish of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=13691">PR#13691</a>.)
</P></LI>

<LI><P>
R now keeps track of line numbers during execution for code sourced
with ‘options(keep.source = TRUE)’.  The source reference is displayed
by debugging functions such as ‘traceback()’, ‘browser()’, ‘recover()’,
and ‘dump.frames()’, and is stored as an attribute on each element
returned by ‘sys.calls()’.
</P></LI>

<LI><P>
More functions now have an implicit (S4) generic definition.
</P></LI>

<LI><P>
‘quantile.default()’ now disallows factors (wish of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=13631">PR#13631</a>) and its
help documents what numeric-like properties its input need to have to
work correctly.
</P></LI>

<LI><P>
‘weighted.mean()’ is now generic and has ‘&quot;Date&quot;’, ‘&quot;POSIXct&quot;’ and
‘&quot;POSIXlt&quot;’ methods.
</P></LI>

<LI><P>
Naming subscripts (e.g. ‘x[i=1, j=2]’) in ‘data.frame’ methods for ‘[’
and ‘[[’ now gives a warning.  (Names are ignored in the default
method, but could have odd semantics for other methods, and do for the
data.frame ones.)
</P></LI>

<LI><P>
‘as.data.frame()’ has an ‘&quot;aovproj&quot;’ method.  (Wish of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=13505">PR#13505</a>)
</P></LI>

<LI><P>
‘as.character(x)’ for numeric ‘x’ no longer produces strings such as
‘&quot;0.30&quot;’, i.e., with trailing zeros.  This change also renders levels
construction in ‘factor()’ more consistent.
</P></LI>

<LI><P>
‘codocClasses()’, which checks consistency of the documentation of S4
class slots, now does so in considerably more cases.  The documentation
of inherited slots (from superclasses) is now optional.  This affects
‘R CMD check &lt;pkg&gt;’ when the package defines S4 classes.
</P></LI>

<LI><P>
‘codoc()’ now also checks S4 methods for code/documentation mismatches.
</P></LI>

<LI><P>
‘for()’, ‘while()’, and ‘repeat()’ loops now always return NULL as
their (invisible) value.  This change was needed to address a reference
counting bug without creating performance penalties for some common use
cases.
</P></LI>

<LI><P>
The ‘print()’ method for ‘ls.str()’ results now obeys an optional
‘digits’ argument.
</P></LI>

<LI><P>
The ‘method’ argument of ‘glm()’ now allows user-contributed methods.
</P></LI>

<LI><P>
More general ‘reorder.default()’ replaces functionality of
‘reorder.factor()’ and ‘reorder.character()’.
</P></LI>

<LI><P>
The function ‘aspell()’ has been added to provide an interface to the
‘Aspell’ spell-checker.
</P></LI>

<LI><P>
Filters ‘RdTextFilter()’ and ‘SweaveTeXFilter()’ have been added to the
tools package to provide support for ‘aspell()’ or other spell
checkers.
</P></LI>

<LI><P>
‘xtabs()’ with the new argument ‘sparse = TRUE’ now returns a sparse
Matrix, using package ‘Matrix’.
</P></LI>

<LI><P>
‘contr.sum()’ etc gain an argument ‘sparse’ which allows sparse
matrices to be returned.
</P>
<P>
‘contrasts()’ also gains a ‘sparse’ argument which it passes to the
actual contrast function if that has a formal argument ‘sparse’.
</P>
<P>
‘contrasts(f, .) &lt;- val’ now also works when ‘val’ is a sparse Matrix.
It is planned that ‘model.matrix()’ will work with such factors ‘f’ in
the future.
</P></LI>

<LI><P>
‘readNEWS()’ will recognize a UTF-8 byte-order mark (BOM) in the ‘NEWS’
file.  However, it is safer to use only ASCII code there because not
all editors recognize BOMs.
</P></LI>

<LI><P>
New utility function ‘inheritedSlotNames()’ for S4 class programming.
</P></LI>

<LI><P>
‘tabulate()’ now allows NAs to pass through (and be ignored).
</P></LI>

<LI><P>
If ‘debug()’ is called on an S3 generic function then all methods are
debugged as well.
</P></LI>

<LI><P>
Outlier symbols drawn by ‘boxplot()’ now obey the ‘outlwd’ argument.
Reported by Jurgen Kluge.
</P></LI>

<LI><P>
‘svd(x)’ and ‘eigen(x)’ now behave analogously to ‘qr(x)’ in accepting
logical matrices ‘x’.
</P></LI>

<LI><P>
File ‘NEWS’ is now in UTF-8, and has a BOM (often invisible) on the
first line, and ‘Emacs’ local variables set for UTF-8 at the end.
‘RShowDoc(&quot;NEWS&quot;)’ should display this correctly, given suitable fonts.
</P></LI>

<LI><P>
‘terms.formula(simplify = TRUE)’ now does not deparse the LHS and so
preserves non-standard responses such as ‘`a: b`’ (requested by Sundar
Dorai-Raj).
</P></LI>

<LI><P>
New function ‘news()’ for building and querying R or package news
information.
</P></LI>

<LI><P>
‘z^n’ for integer ‘n’ and complex ‘z’ is more accurate now if ‘|n| &lt;=
65536’.
</P></LI>

<LI><P>
‘factor(NULL)’ now returns the same as ‘factor(character(0))’ instead
of an error, and ‘table(NULL)’ consequently does analogously.
</P></LI>

<LI><P>
‘as.data.frame.vector()’ (and its copies) is slightly faster by
avoiding a copy if there are no names (following a suggestion of Tim
Hesterberg).
</P></LI>

<LI><P>
‘writeLines()’, ‘writeBin()’ and ‘writeChar()’ have a new argument
‘useBytes’.  If false, character strings with marked encodings are
translated to the current locale (as before) but if true they are
written byte-by-byte.
</P></LI>

<LI><P>
‘iconv()’ has a new argument ‘mark’ which can be used (by experts) to
suppress the declaration of encodings.
</P></LI>

<LI><P>
‘DESCRIPTION’ file's ‘LinkingTo’ specs are now recognized as
installation dependencies, and included in package management
computations.
</P></LI>

<LI><P>
Standardized ‘DESCRIPTION’ file ‘License’ specs are now available for
package management computations.
</P></LI>

<LI><P>
‘&quot;\uxxxx&quot;’ and ‘&quot;\Uxxxxxxxx&quot;’ escapes can now be parsed to a UTF-8
encoded string even in non-UTF-8 locales (this has been implemented on
Windows since R 2.7.0).  The semantics have been changed slightly: a
string containing such escapes is always stored in UTF-8 (and hence is
suitable for portably including Unicode text in packages).
</P></LI>

<LI><P>
New ‘as.raw()’ method for ‘&quot;tclObj&quot;’ objects (wish of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=13758">PR#13758</a>).
</P></LI>

<LI><P>
‘Rd.sty’ now makes a better job of setting email addresses, including
using a monospaced font.
</P></LI>

<LI><P>
‘textConnection()’ gains an ‘encoding’ argument to determine how input
strings with marked encodings will be handled.
</P></LI>

<LI><P>
‘R CMD Rd2pdf’ is available as a shortcut for ‘R CMD Rd2dvi --pdf’.
</P></LI>

<LI><P>
‘R CMD check’ now checks links where a package is specified
(‘\link[pkg]{file}’ or ‘\link[pkg:file]{topic}’), if the package is
available.  It notes if the package is not available, as in many cases
this is an error in the link.
</P></LI>

<LI><P>
‘identical()’ gains three logical arguments, which allow for even more
differentiation, notably ‘-0’ and ‘0’.
</P></LI>

<LI><P>
‘legend()’ now can specify the ‘border’ color of filled boxes, thanks
to a patch from Frederic Schutz.
</P></LI>

<LI><P>
Indexing with a vector index to ‘[[ ]]’ has now been extended to all
recursive types.
</P></LI>

<LI><P>
Pairlists may now be assigned as elements of lists.  (Lists could
always be created with pairlist elements, but ‘[[&lt;-’ didn't support
assigning them.)
</P></LI>

<LI><P>
The parser now supports C-preprocessor-like ‘#line’ directives, so
error messages and source references may refer to the original file
rather than an intermediate one.
</P></LI>

<LI><P>
New functions ‘findLineNum()’ and ‘setBreakpoint()’ work with the
source references to find the location of source lines and set
breakpoints (using ‘trace()’) at those lines.
</P></LI>

<LI><P>
Namespace importing is more careful about warning on masked generics,
thanks to a patch by Yohan Chalabi.
</P></LI>

<LI><P>
‘detach()’ now has an argument ‘character.only’ with the same meaning
as for ‘library()’ or ‘require()’.
</P></LI>

<LI><P>
‘available.packages()’ gains a ‘filters’ argument for specifying the
filtering operations performed on the packages found in the
repositories.  A new built-in ‘&quot;license/FOSS&quot;’ filter only retains
packages for which installation can proceed solely based on packages
which can be verified as Free or Open Source Software (FOSS) employing
the available license specifications.
</P></LI>

<LI><P>
In registering an S3 class by a call to ‘setOldClass()’, the data part
(e.g., the object type) required for the class can be included as one
of the superclasses in the Classes argument.
</P></LI>

<LI><P>
The argument ‘f’ to ‘showMethods()’ can be an expression evaluating to
a generic function, allowing methods to be shown for non-exported
generics and other nonstandard cases.
</P></LI>

<LI><P>
‘sprintf()’ now supports ‘%o’ for octal conversions.
</P></LI>

<LI><P>
New function ‘Sys.readlink()’ for information about symbolic links,
including if a file is a symbolic link.
</P></LI>

<LI><P>
Package ‘tools’ has new functions ‘checkRdaFiles()’ and
‘resaveRdaFiles()’ to report on the format of ‘.rda’/‘.RData’ data
files, and to re-save them in a different compressed format, including
choosing the most compact format available.
</P>
<P>
A new ‘INSTALL’ option, ‘--resave-data’, makes use of this.
</P></LI>

<LI><P>
File ‘~/.R/config’ is used in preference to ‘~/.Rconfig’, and these are
now documented in ‘R Installation and Administration’.
</P></LI>

<LI><P>
Logic operations with complex numbers now work, as they were always
documented to, and as in S.
</P></LI>

<LI><P>
‘arrows()’ and ‘segments()’ allow one of ‘x1’ or ‘y1’ to be omitted to
simplify the specification of vertical or horizontal lines (suggestion
of Tim Hesterberg).
</P></LI>

<LI><P>
‘approxfun()’ is faster by avoiding repeated ‘NA’ checks (diagnosis and
patch by Karline Soetaert &amp; Thomas Petzoldt).
</P></LI>

<LI><P>
There are the beginnings of a Nynorsk translation by Karl Ove
Hufthammer.
</P></LI>

<LI><P>
‘stripchart()’ allows ‘par’ ‘bg’ to be passed in for the background
colour for ‘pch = 21’ (wish of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=13984">PR#13984</a>).
</P></LI>

<LI><P>
New generic function ‘.DollarNames()’ to enable class authors to
customize completion after the ‘$’ extractor.
</P></LI>

<LI><P>
‘load()’, ‘save()’, ‘dput()’ and ‘dump()’ now open a not-yet-open
connection in the appropriate mode (as other functions using
connections directly already did).
</P></LI>

</UL>
<H4>2.10.0 REGULAR EXPRESSIONS </H4>
<UL>
<LI><P>
A different regular expression engine is used for basic and extended
regexps and is also for approximate matching.  This is based on the TRE
library of Ville Laurikari, a modified copy of which is included in the
R sources.
</P>
<P>
This is often faster, especially in a MBCS locale.
</P>
<P>
Some known differences are that it is less tolerant of invalid inputs
in MBCS locales, and in its interpretation of undefined (extended)
regexps such as ‘&quot;^*&quot;’.  Also, the interpretation of ranges such as
‘[W-z]’ in caseless matching is no longer to map the range to lower
case.
</P>
<P>
This engine may in future be used in ‘literal’ mode for ‘fixed = TRUE’,
and there is a compile-time option in ‘src/main/grep.c’ to do so.
</P></LI>

<LI><P>
The use of repeated boundary regexps in ‘gsub()’ and ‘gregexpr()’ as
warned about in the help page does not work in this engine (it did in
the previous one since 2005).
</P></LI>

<LI><P>
Extended (and basic) regexps now support same set of options as for
‘fixed = TRUE’ and ‘perl = TRUE’, including ‘useBytes’ and support for
UTF-8-encoded strings in non-UTF-8 locales.
</P></LI>

<LI><P>
‘agrep()’ now has full support for MBCS locales with a modest speed
penalty.  This enables ‘help.search()’ to use approximate matching
character-wise rather than byte-wise.
</P></LI>

<LI><P>
‘[g]sub’ use a single-pass algorithm instead of matching twice and so
is usually faster.
</P></LI>

<LI><P>
The ‘perl = TRUE’ versions now work correctly in a non-UTF-8 MBCS
locale, by translating the inputs to UTF-8.
</P></LI>

<LI><P>
‘useBytes = TRUE’ now inhibits the translation of inputs with marked
encodings.
</P></LI>

<LI><P>
‘strsplit()’ gains a ‘useBytes’ argument.
</P></LI>

<LI><P>
The algorithm used by ‘strsplit()’ has been reordered to batch by
elements of ‘split’: this can be much faster for ‘fixed = FALSE’ (as
multiple compilation of regexps is avoided).
</P></LI>

<LI><P>
The help pages, including ‘?regexp’, have been updated and should be
consulted for details of the new implementations.
</P></LI>

</UL>
<H4>2.10.0 HELP &amp; Rd FILE CHANGES </H4>
<UL>
<LI><P>
A new dynamic HTML help system is used by default, and may be
controlled using ‘tools::startDynamicHelp()’.  With this enabled, HTML
help pages will be generated on request, resolving links by searching
through the current ‘.libPaths()’.  The user may set
options(‘&quot;help.ports&quot;’) to control which IP port is used by the server.
</P></LI>

<LI><P>
‘help.start()’ no longer sets ‘options(htmlhelp = TRUE)’ (it used to on
Unix but not on Windows).  Nor does it on Unix reset the ‘&quot;browser&quot;’
option if given an argument of that name.
</P>
<P>
Arguments ‘update’ and ‘remote’ are now available on all platforms: the
default is ‘update = FALSE’ since the http server will update the
package index at first use.
</P></LI>

<LI><P>
‘help()’ has a new argument ‘help_type’ (with default set by the option
of that name) to supersede arguments ‘offline’, ‘htmlhelp’ and
‘chmhelp’ (although for now they still work if ‘help_type’ is unset).
There is a new type, ‘&quot;PDF&quot;’ to allow offline PDF (rather than
PostScript).
</P>
<P>
A function ‘offline_help_helper()’ will be used if this exists in the
workspace or further down the search path, otherwise the function of
that name in the ‘utils’ name space is used.
</P></LI>

<LI><P>
Plain text help is now used as the fallback for HTML help (as it always
was for Compiled HTML help on Windows).
</P></LI>

<LI><P>
It is possible to ask for static HTML pages to be prebuilt _via_ the
configure option ‘--enable-prebuilt-html’.  This may be useful for
those who wish to make HTML help available outside R, e.g. on a local
web site.
</P></LI>

<LI><P>
An experimental tag ‘\Sexpr’ has been added to Rd files, to evaluate
expressions at build, install, or render time.  Currently install time
and render time evaluation are supported.
</P></LI>

<LI><P>
Tags ‘\if’, ‘\ifelse’ and ‘\out’ have been added to allow
format-specific (or more general, using ‘\Sexpr’) conditional text in
man pages.
</P></LI>

<LI><P>
The ‘parse_Rd()’ parser has been made more tolerant of coding errors in
Rd files: now all syntax errors are reported as warnings, and an
attempt is made to continue parsing.
</P></LI>

<LI><P>
‘parse_Rd()’ now has an argument ‘fragment’ (default ‘FALSE’) to accept
small fragments of Rd files (so that ‘\Sexpr’ can output Rd code which
is then parsed).
</P></LI>

<LI><P>
‘parse_Rd()’ now always converts its input to UTF-8.  The ‘Rd2*’
rendering functions have a new argument, ‘outputEncoding’, which
controls how their output is encoded.
</P></LI>

<LI><P>
‘parse_Rd()’ no longer includes the newline as part of a ‘&quot;%&quot;’-style
comment.
</P></LI>

<LI><P>
There have been various bug fixes and code reorganization in the Rd
renderers ‘Rd2HTML’, ‘Rd2latex’, ‘Rd2txt’, and ‘Rd2ex’.
</P>
<P>
All example files are now created with either ASCII or UTF-8 encoding,
and the encoding is only marked in the file if there is any non-UTF-8
code (previously it was marked if the help file had non-ASCII contents,
possibly in other sections).
</P></LI>

<LI><P>
‘print.Rd()’ now adds necessary escape characters so that printing and
re-parsing an Rd object should produce an equivalent object.
</P></LI>

<LI><P>
‘parse_Rd()’ was incorrectly handling multiple backslashes in R code
strings, converting 4n+3 backslashes to 2n+1 instead of 2n+2.
</P></LI>

<LI><P>
‘parse_Rd()’ now recognizes the ‘\var’ tag within a quoted string in
R-like text.
</P></LI>

<LI><P>
‘parse_Rd()’ now treats the argument of ‘\command’ as LaTeX-like,
rather than verbatim.
</P></LI>

</UL>
<H4>2.10.0 COMPRESSION </H4>
<UL>
<LI><P>
New function ‘untar()’ to list or unpack tar archives, possibly
compressed.  This uses either an external ‘tar’ command or an internal
implementation.
</P></LI>

<LI><P>
New function ‘tar()’ to create (possibly compressed) tar archives.
</P></LI>

<LI><P>
New functions ‘memCompress()’ and ‘memDecompress()’ for in-memory
compression and decompression.
</P></LI>

<LI><P>
‘bzfile()’ has a ‘compress’ argument to select the amount of effort put
into compression when writing.
</P></LI>

<LI><P>
New function ‘xzfile()’ for use with ‘xz’-compressed files.  (This can
also read files compressed by some versions of ‘lzma’.)
</P></LI>

<LI><P>
‘gzfile()’ looks at the file header and so can now also read ‘bzip2’-ed
files and ‘xz’-compressed files.
</P></LI>

<LI><P>
There are the new options of ‘save(compress = &quot;bzip2&quot;)’ and ‘&quot;xz&quot;’ to
use ‘bzip2’ or ‘xz’ compression (which will be slower, but can give
substantially smaller files).  Argument ‘compression_level’ gives finer
control over the space/time tradeoffs.
</P>
<P>
‘load()’ can read such saves (but only as from this version of R).
</P></LI>

<LI><P>
‘R CMD INSTALL’/‘check’ and ‘tools::writePACKAGES’ accept a wider range
of compressed tar archives.  Precisely how wide depends on the
capabilities of the host system's ‘tar’ command: they almost always
include ‘.tar.bz2’ archives, and with modern versions of ‘tar’ other
forms of compression such as ‘lzma’ and ‘xz’, and arbitrary extensions.
</P></LI>

<LI><P>
‘R CMD INSTALL’ has a new option ‘--data-compress’ to control the
compression used when lazy-loading data.  New possibilities are
‘--data-compress=bzip2’ which will give ca 15% better compression at
the expense of slower installation times, and ‘--data-compress=xz’,
often giving even better compression on large datasets at the expense
of much longer installation times.  (The latter is used for the
recommended packages: it is particularly effective for ‘survival’.)
</P></LI>

<LI><P>
‘file()’ for open = ‘&quot;&quot;’, ‘&quot;r&quot;’ or ‘&quot;rt&quot;’ will automagically detect
compressed files (from ‘gzip’, ‘bzip2’ or ‘xz’).  This means that
compressed files can be specified by file name (rather than _via_ a
‘gzfile()’ connection) to ‘read.table()’, ‘readlines()’, ‘scan()’ and
so on.
</P></LI>

<LI><P>
‘data()’ can handle compressed text files with extensions
‘.{txt,tab,csv}.{gz,bz2,xz}’ .
</P></LI>

</UL>
<H4>2.10.0 DEPRECATED &amp; DEFUNCT </H4>
<UL>
<LI><P>
‘png(type=&quot;cairo1&quot;)’ is defunct: the value is no longer recognized.
</P></LI>

<LI><P>
‘tools::Rd_parse()’ is defunct (as this version of R uses only Rd
version 2).
</P></LI>

<LI><P>
Use of file ‘~/.Rconf’ (which was deprecated in favour of ‘~/.Rconfig’
in 2004) has finally been removed.
</P></LI>

<LI><P>
Bundles of packages are deprecated.  See ‘Writing R Extensions’ for the
steps needed to unbundle a bundle.
</P></LI>

<LI><P>
‘help()’ arguments ‘offline’, ‘htmlhelp’ and ‘chmhelp’ are deprecated
in favour of ‘help_type’.
</P></LI>

<LI><P>
‘clearNames()’ (in package ‘stats’) is deprecated for ‘unname()’.
</P></LI>

<LI><P>
Basic regular expressions (‘extended = FALSE’) are deprecated in
‘strsplit’, ‘grep’ and friends.  There is a precise POSIX standard for
them, but it is not what recent RE engines implement, and it seems that
in almost all cases package authors intended ‘fixed = TRUE’ when using
‘extended = FALSE’.
</P></LI>

<LI><P>
‘methods::trySilent()’ is deprecated in favour of ‘try(silent=TRUE)’ or
- more efficiently and flexibly - something like ‘tryCatch(error =
function(e) e)’.
</P></LI>

<LI><P>
‘index.search()’ is deprecated: there are no longer directories of
types other than ‘help’.
</P></LI>

</UL>
<H4>2.10.0 INSTALLATION </H4>
<UL>
<LI><P>
cairo &gt;= 1.2 is now required (1.2.0 was released in July 2006) for
cairo-based graphics devices (which remain optional).
</P></LI>

<LI><P>
A suitable ‘iconv()’ is now required: support for configure option
‘--without-iconv’ has been withdrawn (it was deprecated in R 2.5.0).
</P></LI>

<LI><P>
Perl is no longer ‘essential’.  R can be built without it, but scripts
‘R CMD build’, ‘check’, ‘Rprof’ and ‘Sd2d’ currently require it.
</P></LI>

<LI><P>
A system ‘glob’ function is now essential (a working ‘Sys.glob()’ has
been assumed since R 2.9.0 at least).
</P></LI>

<LI><P>
C99 support for MBCS is now required, and configure option
‘--disable-mbcs’ has been withdrawn.
</P></LI>

<LI><P>
Having a version of ‘tar’ capable of automagically detecting compressed
archives is useful for ‘utils::untar()’, and so ‘gtar’ (a common name
for GNU ‘tar’) is preferred to ‘tar’: set environment variable ‘TAR’ to
specify a particular ‘tar’ command.
</P></LI>

</UL>
<H4>2.10.0 INTERNATIONALIZATION </H4>
<UL>
<LI><P>
There is some makefile support for adding/updating translations in
packages: see ‘po/README’ and ‘Writing R Extensions’.
</P>
<P>
There is support for the use of ‘dngettext’ for C-level translations in
packages: see ‘Writing R Extensions’.
</P></LI>

</UL>
<H4>2.10.0 BUG FIXES </H4>
<UL>
<LI><P>
Assigning an extra 0-length column to a data frame by ‘DF[, &quot;foo&quot;] &lt;-
value’ now works in most cases (by filling with ‘NA’s) or fails.  (It
used to give a corrupt data frame.)
</P></LI>

<LI><P>
‘validObject()’ avoids an error during evaluation in the case of
various incorrect slot definitions.
</P></LI>

<LI><P>
‘n:m’ now returns a result of type ‘&quot;integer&quot;’ in a few more boundary
cases.
</P></LI>

<LI><P>
The ‘zap.ind’ argument to ‘printCoefmat()’ did not usually work as
other code attempted to ensure that non-zero values had a non-zero
representation.
</P></LI>

<LI><P>
‘printCoefmat()’ formatted groups of columns together, not just the
‘cs.ind’ group but also the ‘zap.ind’ group and a residual group.  It
now formats all columns except the ‘cs.ind’ group separately (and zaps
the ‘zap.ind’ group column-by-column).  The main effect will be see in
the output from ‘print.anova()’, as this grouped SS-like columns in the
‘zap.ind’ group.
</P></LI>

<LI><P>
‘R_ReplDLLinit()’ initializes the top-level jump so that some embedded
applications on Windows no longer crash on error.
</P></LI>

<LI><P>
‘identical()’ failed to take the encoding of character strings into
account, so identical byte patterns are not necessarily identical
strings, and similarly Latin-1 and UTF-8 versions of the same string
differ in byte pattern.
</P></LI>

<LI><P>
‘methods(f)’ used to warn unnecessarily for an S4 generic ‘f’ which had
been created based on an existing S3 generic.
</P></LI>

<LI><P>
The check for consistent ordering of superclasses was not ignoring all
conditional relations (the symptom was usually spurious warnings for
classes extending ‘&quot;array&quot;’).
</P></LI>

<LI><P>
Trying to assign into a raw vector with an index vector containing
‘NA’s could cause a segfault.  Reported by Hervé Pagès.
</P></LI>

<LI><P>
‘Rscript’ could segfault if (by user error) its filename argument was
missing.  Reported by Martin Morgan.
</P></LI>

<LI><P>
‘getAnywhere()’ (and functions that use it, including argument
completion in the console) did not handle special built-in functions.
Reported by Romain Francois.
</P></LI>

<LI><P>
‘order()’ was missing a ‘PROTECT()’ call and so could segfault when
called on character data under certain (rare) circumstances involving
marked non-native encodings.
</P></LI>

<LI><P>
‘prettyNum(z, drop0trailing=TRUE)’ did not work correctly when ‘z’ was
a complex vector.  Consequently, ‘str(z, ...)’ also did not.
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=13985">PR#13985</a>)
</P></LI>

<LI><P>
‘make distclean’ removed too many files in ‘etc/’ if builddir = srcdir.
</P></LI>

<LI><P>
‘R CMD’ replaced ‘TEXINPUTS’ rather than appending to it (as documented
and intended).
</P></LI>

<LI><P>
‘help.start()’ no longer fails on unix when ‘&quot;browser&quot;’ is a function.
</P></LI>

<LI><P>
‘pbeta(x, ..., log.p = TRUE)’ is sometimes more accurate, e.g., for
very small ‘x’.
</P></LI>

<LI><P>
Unserializing a pre-2.8 workspace containing pure ASCII character
objects with a Latin-1 or UTF-8 encoding would corrupt the ‘CHARSXP’
cache.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2011-03-09</title>
<pubDate>Tue, 08 Mar 2011 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/03/08#n2011-03-09</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/03/08#n2011-03-09</guid>
<description><![CDATA[<H4>2.12.2 SIGNIFICANT USER-VISIBLE CHANGES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
Complex arithmetic (notably ‘z^n’ for complex ‘z’ and integer ‘n’) gave
incorrect results since R 2.10.0 on platforms without C99 complex
support.  This and some lesser issues in trignometric functions have
been corrected.
</P>
<P>
Such platforms were rare (we know of Cygwin and FreeBSD).  However,
because of new compiler optimizations in the way complex arguments are
handled, the same code was selected on x86_64 Linux with ‘gcc 4.5.x’ at
the default ‘-O2’ optimization (but not at ‘-O’).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
There is a workaround for crashes seen with several packages on systems
using ‘zlib 1.2.5’: see the INSTALLATION section.
</DEL>
</P></LI>

</UL>
<H4>2.12.2 NEW FEATURES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
PCRE has been updated to 8.12 (two bug-fix releases since 8.10).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘rep()’, ‘seq()’, ‘seq.int()’ and ‘seq_len()’ report more often when
the first element is taken of an argument of incorrect length.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The Cocoa back-end for the ‘quartz()’ graphics device on Mac OS X
provides a way to disable event loop processing temporarily (useful,
e.g., for forked instances of R).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘kernel()’'s default for ‘m’ was not appropriate if ‘coef’ was a set of
coefficients.  (Reported by Pierre Chausse.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘bug.report()’ has been updated for the current R bug tracker, which
does not accept emailed submissions.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD check’ now checks for the correct use of ‘$(LAPACK_LIBS)’ (as
well as ‘$(BLAS_LIBS)’), since several CRAN recent submissions have
ignored ‘Writing R Extensions’.
</DEL>
</P></LI>

</UL>
<H4>2.12.2 INSTALLATION </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘zlib’ sources in the distribution are now built with all symbols
remapped: this is intended to avoid problems seen with packages such as
‘XML’ and ‘rggobi’ which link to ‘zlib.so.1’ on systems using ‘zlib
1.2.5’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The default for ‘FFLAGS’ and ‘FCFLAGS’ with ‘gfortran’ on x86_64 Linux
has been changed back to ‘-g -O2’: however, setting ‘-g -O’ may still
be needed for ‘gfortran 4.3.x’.
</DEL>
</P></LI>

</UL>
<H4>2.12.2 PACKAGE INSTALLATION </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
A ‘LazyDataCompression’ field in the ‘DESCRIPTION’ file will be used to
set the value for the ‘--data-compress’ option of ‘R CMD INSTALL’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Files ‘R/sysdata.rda’ of more than 1Mb are now stored in the lazyload
database using ‘xz’ compression: this for example halves the installed
size of package ‘Imap’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD INSTALL’ now ensures that directories installed from ‘inst’ have
search permission for everyone.
</P>
<P>
It no longer installs files ‘inst/doc/Rplots.ps’ and
‘inst/doc/Rplots.pdf’.  These are almost certainly left-overs from
‘Sweave’ runs, and are often large.
</DEL>
</P></LI>

</UL>
<H4>2.12.2 DEPRECATED &amp; DEFUNCT </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘experimental’ alternative specification of a name space via
‘.Export()’ etc is now deprecated.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘zip.file.extract()’ is now deprecated.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Zip-ing data sets in packages (and hence ‘R CMD INSTALL --use-zip-data’
and the ‘ZipData: yes’ field in a ‘DESCRIPTION’ file) is deprecated:
using efficiently compressed ‘.rda’ images and lazy-loading of data has
superseded it.
</DEL>
</P></LI>

</UL>
<H4>2.12.2 BUG FIXES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘identical()’ could in rare cases generate a warning about non-pairlist
attributes on CHARSXPs.  As these are used for internal purposes, the
attribute check should be skipped.  (Reported by Niels Richard Hansen).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
If the filename extension (usually ‘.Rnw’) was not included in a call
to ‘Sweave()’, source references would not work properly and the
‘keep.source’ option failed.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14459">PR#14459</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘format.data.frame()’ now keeps zero character column names.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘pretty(x)’ no longer raises an error when ‘x’ contains solely
non-finite values. (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14468">PR#14468</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘plot.TukeyHSD()’ function now uses a line width of 0.5 for its
reference lines rather than ‘lwd = 0’ (which caused problems for some
PDF and PostScript viewers).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘big.mark’ argument to ‘prettyNum()’, ‘format()’, etc. was inserted
reversed if it was more than one character long.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD check’ failed to check the filenames under ‘man’ for Windows'
reserved names.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘&quot;Date&quot;’ and ‘&quot;POSIXt&quot;’ methods for ‘seq()’ could overshoot when
‘to’ was supplied and ‘by’ was specified in months or years.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The internal method of ‘untar()’ now restores hard links as file copies
rather than symbolic links (which did not work for cross-directory
links).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘unzip()’ did not handle zip files which contained filepaths with two
or more leading directories which were not in the zipfile and did not
already exist.  (It is unclear if such zipfiles are valid and the
third-party C code used did not support them, but <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14462">PR#14462</a> created
one.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘combn(n, m)’ now behaves more regularly for the border case m = 0.
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14473">PR#14473</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The rendering of numbers in plotmath expressions (e.g.
‘expression(10^2)’) used the current settings for conversion to strings
rather than setting the defaults, and so could be affected by what has
been done before.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14477">PR#14477</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The methods of ‘napredict()’ and ‘naresid()’ for ‘na.action =
na.exclude’ fits did not work correctly in the very rare event that
every case had been omitted in the fit.  (Reported by Simon Wood.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘weighted.residuals(drop0=TRUE)’ returned a vector when the residuals
were a matrix (e.g. those of class ‘&quot;mlm&quot;’).  (Reported by Bill
Dunlap.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Package HTML index files ‘&lt;pkg&gt;/html/00Index.html’ were generated with
a stylesheet reference that was not correct for static browsing in
libraries.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘ccf(na.action = na.pass)’ was not implemented.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The parser accepted some incorrect numeric constants, e.g. ‘20x2’.
(Reported by Olaf Mersmann.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘format(*, zero.print)’ did not always replace the full zero parts.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Fixes for subsetting or subassignment of ‘&quot;raster&quot;’ objects when not
both ‘i’ and ‘j’ are specified.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD INSTALL’ was not always respecting the ‘ZipData: yes’ field of a
‘DESCRIPTION’ file (although this is frequently incorrectly specified
for packages with no data or which specify lazy-loading of data).
</P>
<P>
‘R CMD INSTALL --use-zip-data’ was incorrectly implemented as
‘--use-zipdata’ since R 2.9.0.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘source(file, echo=TRUE)’ could fail if the file contained ‘#line’
directives.  It now recovers more gracefully, but may still display the
wrong line if the directive gives incorrect information.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘atan(1i)’ returned ‘NaN+Infi’ (rather than ‘0+Infi’) on platforms
without C99 complex support.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘library()’ failed to cache S4 metadata (unlike ‘loadNamespace()’)
causing failures in S4-using packages without a namespace (e.g. those
using reference classes).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The function ‘qlogis(lp, log.p=TRUE)’ no longer prematurely overflows
to ‘Inf’ when exp(lp) is close to 1.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Updating S4 methods for a group generic function requires resetting the
methods tables for the members of the group (patch contributed by
Martin Morgan).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
In some circumstances (including for package ‘XML’), ‘R CMD INSTALL’
installed version-control directories from source packages.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Added ‘PROTECT’ calls to some constructed expressions used in C level
‘eval’ calls.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘utils:::create.post()’ (used by ‘bug.report()’ and ‘help.request()’)
failed to quote arguments to the mailer, and so often failed.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘bug.report()’ was naive about how to extract maintainer email
addresses from package descriptions, so would often try mailing to
incorrect addresses.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘debugger()’ could fail to read the environment of a call to a function
with a ‘...’ argument.  (Reported by Charlie Roosen.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘prettyNum(c(1i, NA), drop0=TRUE)’ or ‘str(NA_complex_)’ now work
correctly.
</DEL>
</P></LI>

</UL>
<H4>2.12.1 NEW FEATURES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
The DVI/PDF reference manual now includes the help pages for all the
standard packages: ‘splines’, ‘stats4’ and ‘tcltk’ were previously
omitted (intentionally).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
&lt;URL: http://www.rforge.net&gt; has been added to the default set of
repositories known to ‘setRepositories()’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
xz-utils has been updated to version 5.0.0.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘reshape()’ now makes use of ‘sep’ when forming names during reshaping
to wide format.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14435">PR#14435</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘legend()’ allows the length of lines to be set by the end user _via_
the new argument ‘seg.len’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New S4 reference class utility methods ‘copy()’, ‘field()’,
‘getRefClass()’ and ‘getClass()’ have been added to package ‘methods’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
When a character value is used for the ‘EXPR’ argument in ‘switch()’, a
warning is given if more than one unnamed alternative value is given.
This will become an error in R 2.13.0.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘StructTS(type = &quot;BSM&quot;)’ now allows series with just two seasons.
(Reported by Birgit Erni.)
</DEL>
</P></LI>

</UL>
<H4>2.12.1 INSTALLATION </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
The PDF reference manual is now built as PDF version 1.5 with object
compression, which on platforms for which this is not the default
(notably MiKTeX) halves its size.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Variable ‘FCLIBS’ can be set during configuration, for any additional
library flags needed when linking a shared object with the Fortran 9x
compiler.  (Needed with Solaris Studio 12.2.)
</DEL>
</P></LI>

</UL>
<H4>2.12.1 BUG FIXES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘seq.int()’ no longer sometimes evaluates arguments twice.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14388">PR#14388</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘data.frame’ method of ‘format()’ failed if a column name was
longer than 256 bytes (the maximum length allowed for an R name).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘predict(&lt;lm object&gt;, type =&quot;terms&quot;, ...)’ failed if both ‘terms’ and
‘interval’ were specified.  (Reported by Bill Dunlap.)
</P>
<P>
Also, if ‘se.fit = TRUE’ the standard errors were reported for all
terms, not just those selected by a non-null ‘terms’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The TRE regular expressions engine could terminate R rather than give
an error when given certain invalid regular expressions.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14398">PR#14398</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘cmdscale(eig = TRUE)’ was documented to return n-1 eigenvalues but in
fact only returned ‘k’.  It now returns all n eigenvalues.
</P>
<P>
‘cmdscale(add = TRUE)’ failed to centre the return configuration and
sometimes lost the labels on the points.  Its return value was
described wrongly (it is always a list and contains component ‘ac’).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘promptClass()’ in package ‘methods’ now works for reference classes
and gives a suitably specialized skeleton of documentation.
</P>
<P>
Also, ‘callSuper()’ now works via the ‘methods()’ invocation as well as
for initially specified methods.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘download.file()’ could leave the destination file open if the URL was
not able to be opened.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14414">PR#14414</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Assignment of an environment to functions or as an attribute to other
objects now works for S4 subclasses of ‘&quot;environment&quot;’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Use of ‘[[&lt;-’ for S4 subclasses of ‘&quot;environment&quot;’ generated an
infinite recursion from the method.  The method has been replaced by
internal code.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
In a reference class S4 method, ‘callSuper()’ now works in
‘initialize()’ methods when there is no explicit superclass method.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘!’ dropped attributes such as names and dimensions from a length-zero
argument.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14424">PR#14424</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
When ‘list2env()’ created an environment it was missing a ‘PROTECT’
call and so was vulnerable to garbage collection.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘Sweave()’ with ‘keep.source=TRUE’ dropped comments at the start and
end of code chunks.  It could also fail when ‘\SweaveInput’ was
combined with named chunks.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The Fortran code used by ‘nls(algorithm = &quot;port&quot;)’ could infinite-loop
when compiled with high optimization on a modern version of ‘gcc’, and
‘SAFE_FFLAGS’ is now used to make this less likely.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14427">PR#14427</a>, seen
with 32-bit Windows using ‘gcc 4.5.0’ used from R 2.12.0.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘sapply()’ with default ‘simplify = TRUE’ and ‘mapply()’ with default
‘SIMPLIFY = TRUE’ wrongly simplified language-like results, as, e.g.,
in ‘mapply(1:2, c(3,7), FUN = function(i,j) call(':',i,j))’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Backreferences to undefined patterns in ‘[g]sub(pcre = TRUE)’ could
cause a segfault.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14431">PR#14431</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘format()’ (and hence the ‘print()’) method for class ‘&quot;Date&quot;’
rounded fractional dates towards zero: it now always rounds them down.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Reference S4 class creation could generate ambiguous inheritance
patterns under very special circumstances.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘[[&lt;-’ turned S4 subclasses of ‘&quot;environment&quot;’ into plain environments.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Long titles for help pages were truncated in package indices and a few
other places.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Additional utilities now work correctly with S4 subclasses of
‘&quot;environment&quot;’ (‘rm’, locking tools and active bindings).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘spec.ar()’ now also work for the ‘&quot;ols&quot;’ method.  (Reported by
Hans-Ruedi Kuensch.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The initialization of objects from S4 subclasses of ‘&quot;environment&quot;’ now
allocates a new environment object.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD check’ has more protection against (probably erroneous) example
or test output which is invalid in the current locale.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘qr.X()’ with column names and pivoting now also pivots the column
names.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14438">PR#14438</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘unit.pmax()’ and ‘unit.pmin()’ in package ‘grid’ gave incorrect
results when all inputs were of length 1.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14443">PR#14443</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The parser for ‘NAMESPACE’ files ignored misspelled directives, rather
than signalling an error.  For 2.12.x a warning will be issued, but
this will be correctly reported as an error in later releases.
(Reported by Charles Berry.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Fix for subsetting of ‘&quot;raster&quot;’ objects when only one of ‘i’ or ‘j’ is
specified.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘grid.raster()’ in package ‘grid’ did not accept ‘&quot;nativeRaster&quot;’
objects (like ‘rasterImage()’ does).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Rendering raster images in PDF output was resetting the clipping
region.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Rendering of raster images on Cairo X11 device was wrong, particularly
when a small image was being scaled up using interpolation.
</P>
<P>
With Cairo &lt; 1.6, will be better than before, though still a little
clunky.  With Cairo &gt;= 1.6, should be sweet as.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Several bugs fixed in ‘read.DIF()’: single column inputs caused errors,
cells marked as ‘&quot;character&quot;’ could be converted to other types, and
(in Windows) copying from the clipboard failed.
</DEL>
</P></LI>

</UL>
<H4>2.12.0 NEW FEATURES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
Reading a package's ‘CITATION’ file now defaults to ASCII rather than
Latin-1: a package with a non-ASCII ‘CITATION’ file should declare an
encoding in its ‘DESCRIPTION’ file and use that encoding for the
‘CITATION’ file.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘difftime()’ now defaults to the ‘&quot;tzone&quot;’ attribute of ‘&quot;POSIXlt&quot;’
objects rather than to the current timezone as set by the default for
the ‘tz’ argument.  (Wish of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14182">PR#14182</a>.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘pretty()’ is now generic, with new methods for ‘&quot;Date&quot;’ and ‘&quot;POSIXt&quot;’
classes (based on code contributed by Felix Andrews).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘unique()’ and ‘match()’ are now faster on character vectors where all
elements are in the global ‘CHARSXP’ cache and have unmarked encoding
(ASCII).  Thanks to Matthew Dowle for suggesting improvements to the
way the hash code is generated in ‘unique.c’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘enquote()’ utility, in use internally, is exported now.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘.C()’ and ‘.Fortran()’ now map non-zero return values (other than
‘NA_LOGICAL’) for logical vectors to ‘TRUE’: it has been an implicit
assumption that they are treated as true.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘print()’ methods for ‘&quot;glm&quot;’ and ‘&quot;lm&quot;’ objects now insert
linebreaks in long calls in the same way that the ‘print()’ methods for
‘&quot;summary.[g]lm&quot;’ objects have long done.  This does change the layout
of the examples for a number of packages, e.g. ‘MASS’.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14250">PR#14250</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘constrOptim()’ can now be used with method ‘&quot;SANN&quot;’.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14245">PR#14245</a>)
</P>
<P>
It gains an argument ‘hessian’ to be passed to ‘optim()’, which allows
all the ‘...’ arguments to be intended for ‘f()’ and ‘grad()’.
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14071">PR#14071</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘curve()’ now allows ‘expr’ to be an object of mode ‘&quot;expression&quot;’ as
well as ‘&quot;call&quot;’ and ‘&quot;function&quot;’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘&quot;POSIX[cl]t&quot;’ methods for ‘Axis()’ have been replaced by a single
method for ‘&quot;POSIXt&quot;’.
</P>
<P>
There are no longer separate ‘plot()’ methods for ‘&quot;POSIX[cl]t&quot;’ and
‘&quot;Date&quot;’: the default method has been able to handle those classes for
a long time.  This _inter alia_ allows a single date-time object to be
supplied, the wish of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14016">PR#14016</a>.
</P>
<P>
The methods had a different default (‘&quot;&quot;’) for ‘xlab’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Classes ‘&quot;POSIXct&quot;’, ‘&quot;POSIXlt&quot;’ and ‘&quot;difftime&quot;’ have generators
‘.POSIXct()’, ‘.POSIXlt()’ and ‘.difftime()’.  Package authors are
advised to make use of them (they are available from R 2.11.0) to proof
against planned future changes to the classes.
</P>
<P>
The ordering of the classes has been changed, so ‘&quot;POSIXt&quot;’ is now the
second class.  See the document ‘Updating packages for changes in R
2.12.x’ on &lt;URL: http://developer.r-project.org&gt; for the consequences
for a handful of CRAN packages.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘&quot;POSIXct&quot;’ method of ‘as.Date()’ allows a timezone to be specified
(but still defaults to UTC).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New ‘list2env()’ utility function as an inverse of
‘as.list(&lt;environment&gt;)’ and for fast multi-‘assign()’ to existing
environment.  ‘as.environment()’ is now generic and uses ‘list2env()’
as list method.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
There are several small changes to output which ‘zap’ small numbers,
e.g. in printing quantiles of residuals in summaries from ‘&quot;lm&quot;’ and
‘&quot;glm&quot;’ fits, and in test statistics in ‘print.anova()’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Special names such as ‘&quot;dim&quot;’, ‘&quot;names&quot;’, etc, are now allowed as slot
names of S4 classes, with ‘&quot;class&quot;’ the only remaining exception.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
File ‘.Renviron’ can have architecture-specific versions such as
‘.Renviron.i386’ on systems with sub-architectures.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘installed.packages()’ has a new argument ‘subarch’ to filter on
sub-architecture.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘summary()’ method for ‘packageStatus()’ now has a separate
‘print()’ method.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The default ‘summary()’ method returns an object inheriting from class
‘&quot;summaryDefault&quot;’ which has a separate ‘print()’ method that calls
‘zapsmall()’ for numeric/complex values.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The startup message now includes the platform and if used,
sub-architecture: this is useful where different (sub-)architectures
run on the same OS.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘getGraphicsEvent()’ mechanism now allows multiple windows to
return graphics events, through the new functions
‘setGraphicsEventHandlers()’, ‘setGraphicsEventEnv()’, and
‘getGraphicsEventEnv()’.  (Currently implemented in the ‘windows()’ and
‘X11()’ devices.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘tools::texi2dvi()’ gains an ‘index’ argument, mainly for use by ‘R CMD
Rd2pdf’.
</P>
<P>
It avoids the use of ‘texindy’ by ‘texinfo’'s ‘texi2dvi &gt;= 1.157’,
since that does not emulate 'makeindex' well enough to avoid problems
with special characters (such as ‘(’, ‘{’, ‘!’) in indices.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ability of ‘readLines()’ and ‘scan()’ to re-encode inputs to marked
UTF-8 strings on Windows since R 2.7.0 is extended to non-UTF-8 locales
on other OSes.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘scan()’ gains a ‘fileEncoding’ argument to match ‘read.table()’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘points()’ and ‘lines()’ gain ‘&quot;table&quot;’ methods to match ‘plot()’.
(Wish of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=10472">PR#10472</a>.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘Sys.chmod()’ allows argument ‘mode’ to be a vector, recycled along
‘paths’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
There are ‘|’, ‘&amp;’ and ‘xor()’ methods for classes ‘&quot;octmode&quot;’ and
‘&quot;hexmode&quot;’, which work bitwise.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Environment variables ‘R_DVIPSCMD’, ‘R_LATEXCMD’, ‘R_MAKEINDEXCMD’,
‘R_PDFLATEXCMD’ are no longer used nor set in an R session.  (With the
move to ‘tools::texi2dvi()’, the conventional environment variables
‘LATEX’, ‘MAKEINDEX’ and ‘PDFLATEX’ will be used.
‘options(&quot;dvipscmd&quot;)’ defaults to the value of ‘DVIPS’, then to
‘&quot;dvips&quot;’.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New function ‘isatty()’ to see if terminal connections are redirected.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘summaryRprof()’ returns the sampling interval in component
‘sample.interval’ and only returns in ‘by.self’ data for functions with
non-zero self times.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘print(x)’ and ‘str(x)’ now indicate if an empty list ‘x’ is named.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘install.packages()’ and ‘remove.packages()’ with ‘lib’ unspecified and
multiple libraries in ‘.libPaths()’ inform the user of the library
location used with a message rather than a warning.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
There is limited support for multiple compressed streams on a file: all
of ‘[bgx]zfile()’ allow streams to be appended to an existing file, but
‘bzfile()’ reads only the first stream.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Function ‘person()’ in package ‘utils’ now uses a given/family scheme
in preference to first/middle/last, is vectorized to handle an
arbitrary number of persons, and gains a ‘role’ argument to specify
person roles using a controlled vocabulary (the MARC relator terms).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Package ‘utils’ adds a new ‘&quot;bibentry&quot;’ class for representing and
manipulating bibliographic information in enhanced BibTeX style,
unifying and enhancing the previously existing mechanisms.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
A ‘bibstyle()’ function has been added to the ‘tools’ package with
default JSS style for rendering ‘&quot;bibentry&quot;’ objects, and a mechanism
for registering other rendering styles.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Several aspects of the display of text help are now customizable using
the new ‘Rd2txt_options()’ function.  options(‘&quot;help_text_width&quot;’) is
no longer used.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Added ‘\href’ tag to the Rd format, to allow hyperlinks to URLs without
displaying the full URL.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Added ‘\newcommand’ and ‘\renewcommand’ tags to the Rd format, to allow
user-defined macros.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New ‘toRd()’ generic in the ‘tools’ package to convert objects to
fragments of Rd code, and added ‘&quot;fragment&quot;’ argument to ‘Rd2txt()’,
‘Rd2HTML()’, and ‘Rd2latex()’ to support it.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Directory ‘R_HOME/share/texmf’ now follows the TDS conventions, so can
be set as a ‘texmf’ tree (‘root directory’ in MiKTeX parlance).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
S3 generic functions now use correct S4 inheritance when dispatching on
an S4 object.  See ‘?Methods’, section on “Methods for S3 Generic
Functions” for recommendations and details.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘format.pval()’ gains a ‘...’ argument to pass arguments such as
‘nsmall’ to ‘format()’.  (Wish of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=9574">PR#9574</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘legend()’ supports ‘title.adj’.  (Wish of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=13415">PR#13415</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Added support for subsetting ‘&quot;raster&quot;’ objects, plus assigning to a
subset, conversion to a matrix (of colour strings), and comparisons
(‘==’ and ‘!=’).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Added a new ‘parseLatex()’ function (and related functions
‘deparseLatex()’ and ‘latexToUtf8()’) to support conversion of
bibliographic entries for display in R.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Text rendering of ‘\itemize’ in help uses a Unicode bullet in UTF-8 and
most single-byte Windows locales.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Added support for polygons with holes to the graphics engine.  This is
implemented for the ‘pdf()’, ‘postscript()’, ‘x11(type=&quot;cairo&quot;)’,
‘windows()’, and ‘quartz()’ devices (and associated raster formats),
but not for ‘x11(type=&quot;Xlib&quot;)’ or ‘xfig()’ or ‘pictex()’.  The
user-level interface is the ‘polypath()’ function in ‘graphics’ and
‘grid.path()’ in ‘grid’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
File ‘NEWS’ is now generated at installation with a slightly different
format: it will be in UTF-8 on platforms using UTF-8, and otherwise in
ASCII.  There is also a PDF version, ‘NEWS.pdf’, installed at the
top-level of the R distribution.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘kmeans(x, 1)’ now works.  Further, ‘kmeans’ now returns between and
total sum of squares.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘arrayInd()’ and ‘which()’ gain an argument ‘useNames’.  For
‘arrayInd’, the default is now false, for speed reasons.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
As is done for closures, the default ‘print’ method for the formula
class now displays the associated environment if it is not the global
environment.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
A new facility has been added for inserting code into a package without
re-installing it, to facilitate testing changes which can be
selectively added and backed out.  See ‘?insertSource’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New function ‘readRenviron’ to (re-)read files in the format of
‘~/.Renviron’ and ‘Renviron.site’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘require()’ will now return ‘FALSE’ (and not fail) if loading the
package or one of its dependencies fails.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘aperm()’ now allows argument ‘perm’ to be a character vector when the
array has named dimnames (as the results of ‘table()’ calls do).
Similarly, ‘array()’ allows ‘MARGIN’ to be a character vector.  (Based
on suggestions of Michael Lachmann.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Package ‘utils’ now exports and documents functions
‘aspell_package_Rd_files()’ and ‘aspell_package_vignettes()’ for spell
checking package Rd files and vignettes using Aspell, Ispell or
Hunspell.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Package news can now be given in Rd format, and ‘news()’ prefers these
‘inst/NEWS.Rd’ files to old-style plain text ‘NEWS’ or ‘inst/NEWS’
files.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New simple function ‘packageVersion()’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The PCRE library has been updated to version 8.10.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The standard Unix-alike terminal interface declares its name to
readline as 'R', so that can be used for conditional sections in
‘~/.inputrc’ files.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘Writing R Extensions’ now stresses that the standard sections in ‘.Rd’
files (other than ‘\alias’, ‘\keyword’ and ‘\note’) are intended to be
unique, and the conversion tools now drop duplicates with a warning.
</P>
<P>
The ‘.Rd’ conversion tools also warn about an unrecognized type in a
‘\docType’ section.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘ecdf()’ objects now have a ‘quantile()’ method.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘format()’ methods for date-time objects now attempt to make use of a
‘&quot;tzone&quot;’ attribute with ‘&quot;%Z&quot;’ and ‘&quot;%z&quot;’ formats, but it is not
always possible.  (Wish of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14358">PR#14358</a>.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘tools::texi2dvi(file, clean = TRUE)’ now works in more cases (e.g.
where emulation is used and when ‘file’ is not in the current
directory).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New function ‘droplevels()’ to remove unused factor levels.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘system(command, intern = TRUE)’ now gives an error on a Unix-alike (as
well as on Windows) if ‘command’ cannot be run.  It reports a
non-success exit status from running ‘command’ as a warning.
</P>
<P>
On a Unix-alike an attempt is made to return the actual exit status of
the command in ‘system(intern = FALSE)’: previously this had been
system-dependent but on POSIX-compliant systems the value return was
256 times the status.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘system()’ has a new argument ‘ignore.stdout’ which can be used to
(portably) ignore standard output.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘system(intern = TRUE)’ and ‘pipe()’ connections are guaranteed to be
available on all builds of R.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘Sys.which()’ has been altered to return ‘&quot;&quot;’ if the command is not
found (even on Solaris).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
A facility for defining reference-based S4 classes (in the OOP style of
Java, C++, etc.) has been added experimentally to package ‘methods’;
see ‘?ReferenceClasses’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘predict’ method for ‘&quot;loess&quot;’ fits gains an ‘na.action’ argument
which defaults to ‘na.pass’ rather than the previous default of
‘na.omit’.
</P>
<P>
Predictions from ‘&quot;loess&quot;’ fits are now named from the row names of
‘newdata’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Parsing errors detected during ‘Sweave()’ processing will now be
reported referencing their original location in the source file.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New ‘adjustcolor()’ utility, e.g., for simple translucent color
schemes.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘qr()’ now has a trivial ‘lm’ method with a simple (fast) validity
check.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
An experimental new programming model has been added to package
‘methods’ for reference (OOP-style) classes and methods.  See
‘?ReferenceClasses’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
bzip2 has been updated to version 1.0.6 (bug-fix release).
‘--with-system-bzlib’ now requires at least version 1.0.6.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
R now provides ‘jss.cls’ and ‘jss.bst’ (the class and bib style file
for the Journal of Statistical Software) as well as ‘RJournal.bib’ and
‘Rnews.bib’, and ‘R CMD’ ensures that the ‘.bst’ and ‘.bib’ files are
found by BibTeX.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Functions using the ‘TAR’ environment variable no longer quote the
value when making ‘system’ calls.  This allows values such as ‘tar
--force-local’, but does require additional quotes in, e.g., ‘TAR =
&quot;'/path with spaces/mytar'&quot;’.
</DEL>
</P></LI>

</UL>
<H4>2.12.0 DEPRECATED &amp; DEFUNCT </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
Supplying the parser with a character string containing both octal/hex
and Unicode escapes is now an error.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
File extension ‘.C’ for C++ code files in packages is now defunct.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD check’ no longer supports configuration files containing Perl
configuration variables: use the environment variables documented in ‘R
Internals’ instead.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘save’ argument of ‘require()’ now defaults to ‘FALSE’ and ‘save =
TRUE’ is now deprecated.  (This facility is very rarely actually used,
and was superseded by the ‘Depends’ field of the ‘DESCRIPTION’ file
long ago.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD check --no-latex’ is deprecated in favour of ‘--no-manual’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD Sd2Rd’ is formally deprecated and will be removed in R 2.13.0.
</DEL>
</P></LI>

</UL>
<H4>2.12.0 PACKAGE INSTALLATION </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘install.packages()’ has a new argument ‘libs_only’ to optionally pass
‘--libs-only’ to ‘R CMD INSTALL’ and works analogously for Windows
binary installs (to add support for 64- or 32-bit Windows).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
When sub-architectures are in use, the installed architectures are
recorded in the ‘Archs’ field of the ‘DESCRIPTION’ file.  There is a
new default filter, ‘&quot;subarch&quot;’, in ‘available.packages()’ to make use
of this.
</P>
<P>
Code is compiled in a copy of the ‘src’ directory when a package is
installed for more than one sub-architecture: this avoid problems with
cleaning the sources between building sub-architectures.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD INSTALL --libs-only’ no longer overrides the setting of locking,
so a previous version of the package will be restored unless
‘--no-lock’ is specified.
</DEL>
</P></LI>

</UL>
<H4>2.12.0 UTILITIES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD Rprof|build|check’ are now based on R rather than Perl scripts.
The only remaining Perl scripts are the deprecated ‘R CMD Sd2Rd’ and
‘install-info.pl’ (used only if ‘install-info’ is not found) as well as
some maintainer-mode-only scripts.
</P>
<P>
*NB:* because these have been completely rewritten, users should not
expect undocumented details of previous implementations to have been
duplicated.
</P>
<P>
‘R CMD’ no longer manipulates the environment variables ‘PERL5LIB’ and
‘PERLLIB’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD check’ has a new argument ‘--extra-arch’ to confine tests to
those needed to check an additional sub-architecture.
</P>
<P>
Its check for “Subdirectory 'inst' contains no files” is more thorough:
it looks for files, and warns if there are only empty directories.
</P>
<P>
Environment variables such as ‘R_LIBS’ and those used for customization
can be set for the duration of checking _via_ a file
‘~/.R/check.Renviron’ (in the format used by ‘.Renviron’, and with
sub-architecture specific versions such as ‘~/.R/check.Renviron.i386’
taking precedence).
</P>
<P>
There are new options ‘--multiarch’ to check the package under all of
the installed sub-architectures and ‘--no-multiarch’ to confine
checking to the sub-architecture under which ‘check’ is invoked.  If
neither option is supplied, a test is done of installed
sub-architectures and all those which can be run on the current OS are
used.
</P>
<P>
Unless multiple sub-architectures are selected, the install done by
‘check’ for testing purposes is only of the current sub-architecture
(_via_ ‘R CMD INSTALL --no-multiarch’).
</P>
<P>
It will skip the check for non-ascii characters in code or data if the
environment variables ‘_R_CHECK_ASCII_CODE_’ or ‘_R_CHECK_ASCII_DATA_’
are respectively set to ‘FALSE’.  (Suggestion of Vince Carey.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD build’ no longer creates an ‘INDEX’ file (‘R CMD INSTALL’ does
so), and ‘--force’ removes (rather than overwrites) an existing ‘INDEX’
file.
</P>
<P>
It supports a file ‘~/.R/build.Renviron’ analogously to ‘check’.
</P>
<P>
It now runs build-time ‘\Sexpr’ expressions in help files.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD Rd2dvi’ makes use of ‘tools::texi2dvi()’ to process the package
manual.  It is now implemented entirely in R (rather than partially as
a shell script).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD Rprof’ now uses ‘utils::summaryRprof()’ rather than Perl.  It
has new arguments to select one of the tables and to limit the number
of entries printed.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD Sweave’ now runs R with ‘--vanilla’ so the environment setting
of ‘R_LIBS’ will always be used.
</DEL>
</P></LI>

</UL>
<H4>2.12.0 C-LEVEL FACILITIES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘lang5()’ and ‘lang6()’ (in addition to pre-existing ‘lang[1-4]()’)
convenience functions for easier construction of ‘eval()’ calls.  If
you have your own definition, do wrap it inside ‘#ifndef lang5 ....
#endif’ to keep it working with old and new R.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Header ‘R.h’ now includes only the C headers it itself needs, hence no
longer includes ‘errno.h’.  (This helps avoid problems when it is
included from C++ source files.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Headers ‘Rinternals.h’ and ‘R_ext/Print.h’ include the C++ versions of
‘stdio.h’ and ‘stdarg.h’ respectively if included from a C++ source
file.
</DEL>
</P></LI>

</UL>
<H4>2.12.0 INSTALLATION </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
A C99 compiler is now required, and more C99 language features will be
used in the R sources.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Tcl/Tk &gt;= 8.4 is now required (increased from 8.3).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
System functions ‘access’, ‘chdir’ and ‘getcwd’ are now essential to
configure R.  (In practice they have been required for some time.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘make check’ compares the output of the examples from several of the
base packages to reference output rather than the previous output (if
any).  Expect some differences due to differences in floating-point
computations between platforms.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
File ‘NEWS’ is no longer in the sources, but generated as part of the
installation.  The primary source for changes is now ‘doc/NEWS.Rd’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘popen’ system call is now required to build R.  This ensures the
availability of ‘system(intern = TRUE)’, ‘pipe()’ connections and
printing from ‘postscript()’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘pkg-config’ file ‘libR.pc’ now also works when R is installed
using a sub-architecture.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
R has always required a BLAS that conforms to IE60559 arithmetic, but
after discovery of more real-world problems caused by a BLAS that did
not, this is tested more thoroughly in this version.
</DEL>
</P></LI>

</UL>
<H4>2.12.0 BUG FIXES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
Calls to ‘selectMethod()’ by default no longer cache inherited methods.
This could previously corrupt methods used by ‘as()’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The densities of non-central chi-squared are now more accurate in some
cases in the extreme tails, e.g. ‘dchisq(2000, 2, 1000)’, as a series
expansion was truncated too early.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14105">PR#14105</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘pt()’ is more accurate in the left tail for ‘ncp’ large, e.g.
‘pt(-1000, 3, 200)’.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14069">PR#14069</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The default C function (‘R_binary’) for binary ops now sets the S4 bit
in the result if either argument is an S4 object.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=13209">PR#13209</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘source(echo=TRUE)’ failed to echo comments that followed the last
statement in a file.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
S4 classes that contained one of ‘&quot;matrix&quot;’, ‘&quot;array&quot;’ or ‘&quot;ts&quot;’ and
also another class now accept superclass objects in ‘new()’.  Also
fixes failure to call ‘validObject()’ for these classes.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Conditional inheritance defined by argument ‘test’ in
‘methods::setIs()’ will no longer be used in S4 method selection
(caching these methods could give incorrect results).  See ‘?setIs’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The signature of an implicit generic is now used by ‘setGeneric()’ when
that does not use a definition nor explicitly set a signature.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
A bug in ‘callNextMethod()’ for some examples with ‘&quot;...&quot;’ in the
arguments has been fixed.  See file
‘src/library/methods/tests/nextWithDots.R’ in the sources.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘match(x, table)’ (and hence ‘%in%’) now treat ‘&quot;POSIXlt&quot;’ consistently
with, e.g., ‘&quot;POSIXct&quot;’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Built-in code dealing with environments (‘get()’, ‘assign()’,
‘parent.env()’, ‘is.environment()’ and others) now behave consistently
to recognize S4 subclasses; ‘is.name()’ also recognizes subclasses.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘abs.tol’ control parameter to ‘nlminb()’ now defaults to ‘0.0’ to
avoid false declarations of convergence in objective functions that may
go negative.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The standard Unix-alike termination dialog to ask whether to save the
workspace takes a EOF response as ‘n’ to avoid problems with a damaged
terminal connection.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14332">PR#14332</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Added ‘warn.unused’ argument to ‘hist.default()’ to allow suppression
of spurious warnings about graphical parameters used with ‘plot=FALSE’.
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14341">PR#14341</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘predict.lm()’, ‘summary.lm()’, and indeed ‘lm()’ itself had issues
with residual DF in zero-weighted cases (the latter two only in
connection with empty models). (Thanks to Bill Dunlap for spotting the
‘predict()’ case.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘aperm()’ treated ‘resize = NA’ as ‘resize = TRUE’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘constrOptim()’ now has an improved convergence criterion, notably for
cases where the minimum was (very close to) zero; further, other tweaks
inspired from code proposals by Ravi Varadhan.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Rendering of S3 and S4 methods in man pages has been corrected and made
consistent across output formats.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Simple markup is now allowed in ‘\title’ sections in ‘.Rd’ files.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The behaviour of ‘as.logical()’ on factors (to use the levels) was lost
in R 2.6.0 and has been restored.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘prompt()’ did not backquote some default arguments in the ‘\usage’
section.  (Reported by Claudia Beleites.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘writeBin()’ disallows attempts to write 2GB or more in a single call.
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14362">PR#14362</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘new()’ and ‘getClass()’ will now work if Class is a subclass of
‘&quot;classRepresentation&quot;’ and should also be faster in typical calls.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘summary()’ method for data frames makes a better job of names
containing characters invalid in the current locale.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘[[’ sub-assignment for factors could create an invalid factor
(reported by Bill Dunlap).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘Negate(f)’ would not evaluate argument ‘f’ until first use of returned
function (reported by Olaf Mersmann).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘quietly=FALSE’ is now also an optional argument of ‘library()’, and
consequently, ‘quietly’ is now propagated also for loading dependent
packages, e.g., in ‘require(*, quietly=TRUE)’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
If the loop variable in a ‘for’ loop was deleted, it would be recreated
as a global variable.  (Reported by Radford Neal; the fix includes his
optimizations as well.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Task callbacks could report the wrong expression when the task involved
parsing new code. (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14368">PR#14368</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘getNamespaceVersion()’ failed; this was an accidental change in
2.11.0. (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14374">PR#14374</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘identical()’ returned ‘FALSE’ for external pointer objects even when
the pointer addresses were the same.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘L$a@x[] &lt;- val’ did not duplicate in a case it should have.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘tempfile()’ now always gives a random file name (even if the directory
is specified) when called directly after startup and before the R RNG
had been used.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14381">PR#14381</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘quantile(type=6)’ behaved inconsistently.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14383">PR#14383</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘backSpline(.)’ behaved incorrectly when the knot sequence was
decreasing.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14386">PR#14386</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The reference BLAS included in R was assuming that ‘0*x’ and ‘x*0’ were
always zero (whereas they could be ‘NA’ or ‘NaN’ in IEC 60559
arithmetic).  This was seen in results from ‘tcrossprod’, and for
example that ‘log(0) %*% 0’ gave ‘0’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The calculation of whether text was completely outside the device
region (in which case, you draw nothing) was wrong for screen devices
(which have [0, 0] at top-left).  The symptom was (long) text
disappearing when resizing a screen window (to make it smaller).
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14391">PR#14391</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘model.frame(drop.unused.levels = TRUE)’ did not take into account ‘NA’
values of factors when deciding to drop levels. (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14393">PR#14393</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘library.dynam.unload’ required an absolute path for ‘libpath’.
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14385">PR#14385</a>)
</P>
<P>
Both ‘library()’ and ‘loadNamespace()’ now record absolute paths for
use by ‘searchpaths()’ and ‘getNamespaceInfo(ns, &quot;path&quot;)’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The self-starting model ‘NLSstClosestX’ failed if some deviation was
exactly zero.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14384">PR#14384</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘X11(type = &quot;cairo&quot;)’ (and other devices such as ‘png’ using
cairographics) and which use Pango font selection now work around a bug
in Pango when very small fonts (those with sizes between 0 and 1 in
Pango's internal units) are requested.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14369">PR#14369</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Added workaround for the font problem with ‘X11(type = &quot;cairo&quot;)’ and
similar on Mac OS X whereby italic and bold styles were interchanged.
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=13463">PR#13463</a> amongst many other reports.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘source(chdir = TRUE)’ failed to reset the working directory if it
could not be determined - that is now an error.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Fix for crash of ‘example(rasterImage)’ on ‘x11(type=&quot;Xlib&quot;)’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Force Quartz to bring the on-screen display up-to-date immediately
before the snapshot is taken by ‘grid.cap()’ in the Cocoa
implementation. (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14260">PR#14260</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘model.frame’ had an unstated 500 byte limit on variable names.
(Example reported by Terry Therneau.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The 256-byte limit on names is now documented.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Subassignment by ‘[’, ‘[[’ or ‘$’ on an expression object with value
‘NULL’ coerced the object to a list.
</DEL>
</P></LI>

</UL>
<H4>2.11.1 patched NEW FEATURES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘install.packages()’ has a new optional argument ‘INSTALL_opts’ which
can be used to pass options to ‘R CMD INSTALL’ for source-package
installs.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD check’ now runs the package-specific tests with ‘LANGUAGE=en’ to
facilitate comparison to ‘.Rout.save’ files.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘sessionInfo()’ gives more detailed platform information, including
32/64-bit and the sub-architecture if one is used.
</DEL>
</P></LI>

</UL>
<H4>2.11.1 patched DEPRECATED &amp; DEFUNCT </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
The use of Perl configuration variables for ‘R CMD check’ (as
previously documented in ‘Writing R Extensions’) is deprecated and will
be removed in R 2.12.0.  Use the environment variables documented in ‘R
Internals’ instead.
</DEL>
</P></LI>

</UL>
<H4>2.11.1 patched BUG FIXES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD Rd2dvi’ failed if run from a path containing space(s).  This
also affected ‘R CMD check’, which calls ‘Rd2dvi’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘stripchart()’ could fail with an empty factor level.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14317">PR#14317</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Text help rendering of ‘\tabular{}’ has been improved: under some
circumstances leading blank columns were not rendered.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘strsplit(x, fixed=TRUE)’ marked UTF-8 strings with the local encoding
when no splits were found.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘weighted.mean(NA, na.rm=TRUE)’ and similar now returns ‘NaN’ again, as
it did prior to R 2.10.0.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD’ had a typo in its detection of whether the environment variable
‘TEXINPUTS’ was set (reported by Martin Morgan).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The command-line parser could mistake ‘--file=size...’ for one of the
options for setting limits for Ncells or Vcells.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The internal ‘strptime()’ could corrupt its copy of the timezone which
would then lead to spurious warnings. (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14338">PR#14338</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘dir.create(recursive = TRUE)’ could fail if one of the components
existed but was a directory on a read-only file system.  (Seen on
Solaris, where the error code returned is not even listed as possible
on the man page.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘postscript()’ and ‘pdf()’ devices will now allow ‘lwd’ values less
than 1 (they used to force such values to be 1).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Fixed font face for CID fonts in ‘pdf()’ graphics output.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14326">PR#14326</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘GERaster()’ now checks for width or height of zero and does nothing in
those cases; previously the behaviour was undefined, probably
device-specific, and possibly dangerous.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘wilcox.test(x, y, conf.int = TRUE)’ failed with an unhelpful message
if ‘x’ and ‘y’ were constant vectors, and similarly in the one-sample
case.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14329">PR#14329</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Improperly calling ‘Recall()’ from outside a function could cause a
segfault.  (Reported by Robert McGehee.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘\Sexpr[result=rd]’ in an Rd file added a spurious newline, which was
displayed as extra whitespace when rendered.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘require(save = TRUE)’ recorded the names of packages it failed to
load.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘packageStatus()’ could return a data frame with duplicate row names
which could then not be printed.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘txtProgressBar(style = 2)’ did not work correctly.
</P>
<P>
‘txtProgressBar(style = 3)’ did not display until a non-minimum value
was set.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘contour()’ did not display dashed line types properly when contour
lines were labelled. (Reported by David B. Thompson.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘tools::undoc()’ again detects undocumented data objects.  Of course,
this also affects ‘R CMD check’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘ksmooth(x,NULL)’ no longer segfaults.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘approxfun()’, ‘approx()’, ‘splinefun()’ and ‘spline()’ could be
confused by ‘x’ values that were different but so close as to print
identically.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14377">PR#14377</a>)
</DEL>
</P></LI>

</UL>
<H4>2.11.1 NEW FEATURES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD INSTALL’ checks if dependent packages are available early on in
the installation of source packages, thereby giving clearer error
messages.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD INSTALL --build’ now names the file in the format used for Mac
OS X binary files on that platform.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘BIC()’ in package ‘stats4’ now also works with multiple fitted models,
analogously to ‘AIC()’.
</DEL>
</P></LI>

</UL>
<H4>2.11.1 DEPRECATED &amp; DEFUNCT </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
Use of file extension ‘.C’ for C++ code in packages is now deprecated:
it has caused problems for some ‘make’s on case-insensitive file
systems (although it currently works with the recommended toolkits).
</DEL>
</P></LI>

</UL>
<H4>2.11.1 INSTALLATION </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
Command ‘gnutar’ is preferred to ‘tar’ when configure sets ‘TAR’.  This
is needed on Mac OS 10.6, where the default ‘tar’, ‘bsdtar 2.6.2’, has
been reported to produce archives with illegal extensions to tar
(according to the POSIX standard).
</DEL>
</P></LI>

</UL>
<H4>2.11.1 BUG FIXES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
The C function ‘mkCharLenCE’ now no longer reads past ‘len’ bytes
(unlikely to be a problem except in user code).  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14246">PR#14246</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
On systems without any default ‘LD_LIBRARY_PATH’ (not even
‘/usr/local/lib’), ‘[DY]LIB_LIBRARY_PATH’ is now set without a trailing
colon.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=13637">PR#13637</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
More efficient implementation of ‘utf8ToInt()’ on long multi-byte
strings with many multi-byte characters.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14262">PR#14262</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘aggregate.ts()’ gave platform-dependent results due to rounding error
for ‘ndeltat != 1’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘package.skeleton()’ sometimes failed to fix filenames for ‘.R’ or
‘.Rd’ files to start with an alphanumeric.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14253">PR#14253</a>)
</P>
<P>
It also failed when only an S4 class without any methods was defined.
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14280">PR#14280</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘splinefun(method = ‘&quot;monoH.FC&quot;’)’ was not quite monotone in rare
cases.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14215">PR#14215</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘Rhttpd’ no longer crashes due to ‘SIGPIPE’ when the client closes the
connection prematurely.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14266">PR#14266</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘format.POSIXlt()’ could cause a stack overflow and crash when used on
very long vectors.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14267">PR#14267</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘Rd2latex()’ incorrectly escaped special characters in ‘\usage’
sections.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘mcnemar.test()’ could alter the levels (dropping unused levels) if
passed ‘x’ and ‘y’ as factors (reported by Greg Snow).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘Rd2pdf’ sometimes needed a further ‘pdflatex’ pass to get hyperlinked
pages correct.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘interaction()’ produced malformed results when levels were duplicated,
causing segfaults in ‘split()’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘cut(d, breaks = &lt;n&gt;)’ now also works for ‘&quot;Date&quot;’ or ‘&quot;POSIXt&quot;’
argument ‘d’.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14288">PR#14288</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘memDecompress()’ could decompress incompletely rare ‘xz’-compressed
input due to incorrect documentation of ‘xz utils’.  (Report and patch
from Olaf Mersmann.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The S4 ‘initialize()’ methods for ‘&quot;matrix&quot;’, ‘&quot;array&quot;’, and ‘&quot;ts&quot;’
have been fixed to call ‘validObject()’.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14284">PR#14284</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD INSTALL’ now behaves the same way with or without
‘--no-multiarch’ on platforms with only one installed architecture.
(It used to clean the ‘src’ directory without ‘--no-multiarch’.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘[&lt;-.data.frame’ was not quite careful enough in assigning (and
potentially deleting) columns right-to-left.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14263">PR#14263</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘rbeta(n, a, b)’ no longer occasionally returns ‘NaN’ for ‘a &gt;&gt; 1 &gt; b’.
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14291">PR#14291</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘pnorm(x, log.p = TRUE)’ could return ‘NaN’ not ‘-Inf’ for ‘x’ near
(minus for ‘lower.tail=TRUE’) the largest representable number.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Compressed data files ‘*.(txt|tab|csv).(gz|bz2|xz)’ were not recognized
for the list of data topics and hence for packages using ‘LazyData’.
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14273">PR#14273</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘textConnection()’ did an unnecessary translation on strings in a
foreign encoding (e.g. UTF-8 strings on Windows) and so was slower than
it could have been on very long input strings.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14286">PR#14286</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘tools::Rd2txt()’ did not render poorly written Rd files consistently
with other renderers.
</P>
<P>
It computed widths of strings that would be ‘print()’ed with escapes
incorrectly, for example in the computation of column width for
‘\tabular’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘na.action()’ did not extract the ‘na.action’ component as documented.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘do.call()’ing ‘NextMethod’ in erronous ways no longer segfaults.
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=13487">PR#13487</a>)
</DEL>
</P></LI>

</UL>
<H4>2.11.0 SIGNIFICANT USER-VISIBLE CHANGES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
Packages must have been installed under R &gt;= 2.10.0, as the current
help system is the only one now supported.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
A port to 64-bit Windows is now available as well as binary package
repositiories: see the ‘R Administration and Installation Manual’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Argument matching for primitive functions is now done in the same way
as for interpreted functions except for the deliberate exceptions
</P>
<P>
</P>
<P>
</P>
<P>
         call switch .C .Fortran .Call .External
</P>
<P>
</P>
<P>
all of which use positional matching for their first argument, and also
some internal-use-only primitives.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The default device for command-line R at the console on Mac OS X is now
‘quartz()’ and not ‘X11()’.
</DEL>
</P></LI>

</UL>
<H4>2.11.0 NEW FEATURES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘open’ modes for connections are now interpreted more consistently.
‘open = &quot;r&quot;’ is now equivalent to ‘open = &quot;rt&quot;’ for all connections.
The default ‘open = &quot;&quot;’ now means ‘&quot;rt&quot;’ for all connections except the
compressed-file connections ‘gzfile()’, ‘bzfile()’ and ‘xzfile()’ for
which it means ‘&quot;rb&quot;’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD INSTALL’ now uses the internal ‘untar()’ function in package
‘utils’: this ensures that all platforms can install ‘bzip2’- and
‘xz’-compressed tarballs.  In case this causes problems (as it has on
some Windows file systems when run from Cygwin tools) it can be
overridden by the environment variable ‘R_INSTALL_TAR’: setting this to
a modern external tar program will speed up unpacking of large (tens of
Mb or more) tarballs.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘help(try.all.packages = TRUE)’ is much faster (although the time taken
by the OS to find all the packages the first time it is used can
dominate the time).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD check’ has a new option ‘--timings’ to record per-example
timings in file ‘&lt;pkg&gt;.Rcheck/&lt;pkg&gt;-Ex.timings’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The TRE library has been updated to version 0.8.0 (minor bugfixes).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘grep[l]’, ‘[g]sub’ and ‘[g]regexpr’ now work in bytes in an 8-bit
locales if there is no marked UTF-8 input string: this will be somewhat
faster, and for ‘[g]sub()’ give the result in the native encoding
rather than in UTF-8 (which returns to the behaviour prior to R
2.10.0).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
A new argument ‘skipCalls’ has been added to ‘browser()’ so that it can
report the original context when called by other debugging functions.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
More validity checking of UTF-8 and MBCS strings is done by ‘agrep()’
and the regular-expression matching functions.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The undocumented restriction on ‘gregexpr()’ to ‘length(text) &gt; 0’ has
been removed.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Package ‘tcltk’ now sends strings to Tcl in UTF-8: this means that
strings with a marked UTF-8 encoding are supported in non-UTF-8
locales.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The graphics engine now supports rendering of raster (bitmap) images,
though not all graphics devices can provide (full) support.  Packages
providing graphics devices (e.g., ‘Cairo’, ‘RSvgDevice’, ‘cairoDevice’)
will need to be reinstalled.
</P>
<P>
There is also support in the graphics engine for capturing raster
images from graphics devices (again not supported on all graphics
devices).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD check’ now also checks if the package and namespace can be
unloaded: this provides a check of the ‘.Last.lib()’ and ‘.onUnload()’
hook functions (unless ‘--install=fake’).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘prop.table(x)’ now accepts a one-dimensional table for ‘x’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
A new function ‘vapply()’ has been added, based on a suggestion from
Bill Dunlap.  It requires that a template for the function value be
specified, and uses it to determine the output type and to check for
consistency in the function values.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The main HTML help page now links to a reformatted copy of this ‘NEWS’
file.  (Suggested by Henrik Bengtsson.)  Package index files link to
the package ‘DESCRIPTION’ and ‘NEWS’ files and a list of demos when
using dynamic help.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘[’ method for class ‘&quot;AsIs&quot;’ allows the next method to change the
underlying class.  (Wish of Jens Oehlschlägel.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘write.csv[2]’ no longer allow argument ‘append’ to be changed: as
ever, direct calls to ‘write.table()’ give more flexibility as well as
more room for error.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The index page for HTML help for a package now collapses multiple
signatures for S4 methods into a single entry.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The use of ‘.required’ by ‘require()’ and ‘detach()’ has been replaced
by ‘.Depends’ which is set from the ‘Depends’ field of a package (even
in packages with name spaces).  By default ‘detach()’ prevents such
dependencies from being detached: this can be overridden by the
argument ‘force’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘bquote()’ has been extended to work on function definitions.  (Wish of
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14031">PR#14031</a>).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘detach()’ when applied to an object other than a package returns the
environment that has been detached, to parallel ‘attach()’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘readline()’ in non-interactive use returns ‘&quot;&quot;’ and does not attempt
to read from the ‘terminal’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New function ‘file_ext()’ in package ‘tools’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘xtfrm()’ is now primitive and internally generic, as this allows S4
methods to be set on it without name-space scoping issues.
</P>
<P>
There are now ‘&quot;AsIs&quot;’ and ‘&quot;difftime&quot;’ methods, and the default method
uses ‘unclass(x)’ if ‘is.numeric(x)’ is true (which will be faster but
relies on ‘is.numeric()’ having been set correctly for the class).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘is.numeric(x)’ is now false for a ‘&quot;difftime&quot;’ object (multiplication
and division make no sense for such objects).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The default method of ‘weighted.mean(x, w)’ coerces ‘w’ to be numeric
(aka double); previously only integer weights were coerced.  Zero
weights are handled specially so an infinite value with zero weight
does not force an ‘NaN’ result.
</P>
<P>
There is now a ‘&quot;difftime&quot;’ method.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘bug.report()’ now has arguments ‘package’ and ‘lib.loc’ to generate
bug reports about packages.  When this is used, it looks for a
‘BugReports’ field in the package ‘DESCRIPTION’ file, which will be
assumed to be a URL at which to submit the report, and otherwise
generates an email to the package maintainer.  (Suggested by Barry
Rowlingson.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘quantile()’ now has a method for the date-time class ‘&quot;POSIXt&quot;’, and
types 1 and 3 (which never interpolate) work for Dates and ordered
factors.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘length(&lt;POSIXlt&gt;)’ now returns the length of the corresponding
abstract timedate-vector rather than always 9 (the length of the
underlying list structure).  (Wish of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14073">PR#14073</a> and <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=10507">PR#10507</a>.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘readline’ completion backend no longer sorts possible completions
alphabetically (e.g., function argument names) if R was built with
‘readline &gt;= 6’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘select.list()’ gains a ‘graphics’ argument to allow Windows/Mac users
to choose the text interface.  This changes the behaviour of
‘new.packages(ask=TRUE)’ to be like ‘update.packages(ask=TRUE)’ on
those platforms in using a text menu: use ask=‘&quot;graphics&quot;’ for a
graphical menu.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New function ‘chooseBioCmirror()’ to set the ‘&quot;BioC_mirror&quot;’ option.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The R grammar now prevents using the argument ‘name’ in signatures of
S4 methods for ‘$’ and ‘$&lt;-’, since they will always be called with a
character string value for ‘name’.  The implicit S4 generic functions
have been changed to reflect this: packages which included ‘name’ in
the signature of their methods need to be updated and re-installed.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The handling of the ‘method’ argument of ‘glm()’ has been refined
following suggestions by Ioannis Kosmidis and Heather Turner.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘str()’ gains a new argument ‘list.len’ with default 99, limiting the
number of ‘list()’ items (per level), thanks to suggestions from David
Winsenius.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Having formal arguments of an S4 method in a different order from the
generic is now an error (the warning having been ignored by some
package maintainers for a long time).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New functions ‘enc2native()’ and ‘enc2utf8()’ convert character vectors
with possibly marked encodings to the current locale and UTF-8
respectively.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Unrecognized escapes and embedded nuls in character strings are now an
error, not just a warning.  Thus option ‘&quot;warnEscapes&quot;’ is no longer
needed.  ‘rawToChar()’ now removes trailing nuls silently, but other
embedded nuls become errors.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Informational messages about masked objects displayed when a package is
attached are now more compact, using ‘strwrap()’ instead of one object
per line.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘print.rle()’ gains argument ‘prefix’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘download.file()’ gains a ‘&quot;curl&quot;’ method, mainly for use on platforms
which have ‘curl’ but not ‘wget’, but also for some hard-to-access
URLs.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
In ‘Rd’, ‘\eqn’ and ‘\deqn’ will render in HTML (and convert to text)
upper- and lower-case Greek letters (entered as ‘\alpha’ ...),
‘\ldots’, ‘...’, ‘\ge’ and ‘\le’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘utf8ToInt()’ and ‘intToUtf8()’ now map ‘NA’ inputs to ‘NA’ outputs.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘file()’ has a new argument ‘raw’ which may help if it is used with
something other than a regular file, e.g. a character device.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New function ‘strtoi()’, a wrapper for the C function ‘strtol’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘as.octmode()’ and ‘as.hexmode()’ now allow inputs of length other than
one.
</P>
<P>
The ‘format()’ and ‘print()’ methods for ‘&quot;octmode&quot;’ now preserve names
and dimensions (as those for ‘&quot;hexmode&quot;’ did).
</P>
<P>
The ‘format()’ methods for classes ‘&quot;octmode&quot;’ and ‘&quot;hexmode&quot;’ gain a
‘width’ argument.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘seq.int()’ returns an integer result in some further cases where
‘seq()’ does, e.g. ‘seq.int(1L, 9L, by = 2L)’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Added ‘\subsection{}{}’ macro to Rd syntax, for subsections within
sections.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
n-dimensional arrays with dimension names can now be indexed by an
n-column character matrix.  The indices are matched against the
dimension names.  ‘NA’ indices are propagated to the result.  Unmatched
values and ‘&quot;&quot;’ are not allowed and result in an error.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘interaction(drop=TRUE)’ uses less memory (related to <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14121">PR#14121</a>).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘summary()’ methods have been added to the ‘&quot;srcref&quot;’ and ‘&quot;srcfile&quot;’
classes, and various encoding issues have been cleaned up.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
If option ‘&quot;checkPackageLicense&quot;’ is set to ‘TRUE’ (not currently the
default), users will be asked to agree to non-known-to-be-FOSS package
licences at first use.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Checking ‘setAs(a, b)’ methods only gives a message instead of a
warning, when one of ‘a’ or ‘b’ is unknown.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New function ‘norm()’ to compute a matrix norm.  ‘norm()’ and also
‘backsolve()’ and ‘sample()’ have implicit S4 generics.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Files ‘Renviron.site’ and ‘Rprofile.site’ can have
architecture-specific versions on systems with sub-architectures.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD check’ now (by default) also checks Rd files for auto-generated
content in need of editing, and missing argument descriptions.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘aggregate()’ gains a formula method thanks to a contribution by Arni
Magnusson.  The data frame method now allows summary functions to
return arbitrarily many values.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘path.expand()’ now propagates ‘NA’ values rather than converting them
to ‘&quot;NA&quot;’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘file.show()’ now disallows ‘NA’ values for file names, headers, and
pager.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘fuzz’ used by ‘seq()’ and ‘seq.int()’ has been reduced from ‘1e-7’
to ‘1e-10’, which should be ample for the double-precision calculations
used in R.  It ensures that the fuzz never comes into play with
sequences of integers (wish of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14169">PR#14169</a>).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The default value of ‘RSiteSearch(restrict=)’ has been changed to
include vignettes but to exclude R-help.  The R-help archives available
have been split, with a new option of ‘&quot;Rhelp10&quot;’ for those from 2010.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New function ‘rasterImage()’ in the ‘graphics’ package for drawing
raster images.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘stats:::extractAIC.coxph()’ now omits aliased terms when computing the
degrees of freedom (suggestion of Terry Therneau).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘cor()’ and ‘cov()’ now test for misuse with non-numeric arguments,
such as the non-bug report <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14207">PR#14207</a>.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘pchisq(ncp =, log.p = TRUE)’ is more accurate for probabilities near
one.  E.g. ‘pchisq(80, 4, ncp=1, log.p=TRUE)’.  (Maybe what was meant
in <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14216">PR#14216</a>.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘maintainer()’ has been added, to give convenient access to the name of
the maintainer of a package (contributed by David Scott).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘sample()’ and ‘sample.int()’ allow zero items to be sampled from a
zero-length input.  ‘sample.int()’ gains a default value ‘size=n’ to be
more similar to ‘sample()’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘switch()’ returned ‘NULL’ on error (not previously documented on the
help page): it now does so invisibly, analogously to if-without-else.
</P>
<P>
It is now primitive: this means that argument ‘EXPR’ is always matched
to the first argument and there is no danger of partial matching to
later named arguments.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Primitive functions ‘UseMethod()’, ‘attr()’, ‘attr&lt;-()’, ‘on.exit()’,
‘retracemem()’ and ‘substitute()’ now use standard argument matching
(rather than positional matching).  This means that all multi-argument
primitives which are not internal now use standard argument matching
except where positional matching is desirable (as for ‘switch()’,
‘call()’, ‘.C()’ ...).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
All the one-argument primitives now check that any name supplied for
their first argument is a partial match to the argument name as
documented on the help page: this also applies to replacement functions
of two arguments.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘base::which()’ uses a new ‘.Internal’ function when ‘arr.ind’ is
‘FALSE’ resulting in a 10x speedup.  Thanks to Patrick Aboyoun for
implementation suggestions.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Help conversion to text now uses the first part of ‘\enc{}{}’ markup if
it is representable in the current output encoding.  On the other hand,
conversion to LaTeX with the default ‘outputEncoding = &quot;ASCII&quot;’ uses
the second part.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
A new class ‘&quot;listOfMethods&quot;’ has been introduced to represent the
methods in a methods table, to replace the deprecated class
‘&quot;MethodsList&quot;’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘any()’ and ‘all()’ return early if possible.  This may speed up
operations on long vectors.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘strptime()’ now accepts ‘&quot;%z&quot;’ (for the offset from UTC in the RFC822
format of ‘+/-hhmm’).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The PCRE library has been updated to version 8.02, a bug-fix release
which also updates tables to Unicode 5.02.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Functions which may use a graphical ‘select.list()’ (including ‘menu()’
and ‘install.packages()’) now check on a Unix-alike that Tk can be
started (and not just ‘capabilities(&quot;tcltk&quot;) &amp;&amp; capabilities(&quot;X11&quot;)’).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The parser no longer marks strings containing octal or hex escapes as
being in UTF-8 when entered in a UTF-8 locale.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
On platforms with cairo but not Pango (notably Mac OS X) the initial
default ‘X11()’ type is set to ‘&quot;Xlib&quot;’: this avoids several problems
with font selection when done by cairo rather than Pango (at least on
Mac OS X).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New function ‘arrayInd()’ such that ‘which(x, arr.ind = TRUE)’ for an
array 'x' is now equivalent to ‘arrayInd(which(x), dim(x),
dimnames(x))’.
</DEL>
</P></LI>

</UL>
<H4>2.11.0 DEPRECATED &amp; DEFUNCT </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
Bundles of packages are defunct.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘stats::clearNames()’ is defunct: use ‘unname()’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Basic regular expressions are defunct, and ‘strsplit()’, ‘grep()’,
‘grepl()’, ‘sub()’, ‘gsub()’, ‘regexpr()’ and ‘gregexpr()’ no longer
have an ‘extended’ argument.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘methods::trySilent()’ is defunct.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘index.search()’ (which was deprecated in 2.10.0) is no longer exported
and has a different argument list.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Use of multiple arguments to ‘return()’ is now defunct.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The use of ‘UseMethod()’ with more than two arguments is now defunct.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
In the ‘methods’ package, the ‘&quot;MethodsList&quot;’ metadata objects which
had been superseded by hash tables (environments) since R 2.8.0 are
being phased out.  Objects of this class are no longer assigned or used
as metadata by the package.
</P>
<P>
‘getMethods()’ is now deprecated, with its internal use replaced by
‘findMethods()’ and other changes.  Creating objects from the
‘&quot;MethodsList&quot;’ class is also deprecated.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Parsing strings containing both octal/hex and Unicode escapes now gives
a warning and will become an error in R 2.12.0.
</DEL>
</P></LI>

</UL>
<H4>2.11.0 INSTALLATION </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
UTF-8 is now used for the reference manual and package manuals.  This
requires LaTeX ‘2005/12/01’ or later.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘configure’ looks for a POSIX compliant ‘tr’, Solaris's ‘/usr/ucb/tr’
having been found to cause ‘Rdiff’ to malfunction.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘configure’ is now generated with ‘autoconf 2.65’, which works better
on recent systems and on Mac OS X.
</DEL>
</P></LI>

</UL>
<H4>2.11.0 PACKAGE INSTALLATION </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
Characters in R source which are not translatable to the current locale
are now handled more tolerantly: these will be converted to hex codes
with a warning.  Such characters are only really portable if they
appear in comments.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD INSTALL’ now tests that the installed package can be loaded (and
backs out the installation if it cannot): this can be suppressed by
‘--no-test-load’.  This avoids installing/updating a package that
cannot be used: common causes of failures to load are
missing/incompatible external software and missing/broken dependent
packages.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Package installation on Windows for a package with a ‘src’ directory
now checks if a DLL is created unless there is a ‘src/Makefile.win’
file: this helps catch broken installations where the toolchain has not
reported problems in building the DLL.  (Note: this can be any DLL, not
just one named ‘&lt;pkg-name&gt;.dll’.)
</DEL>
</P></LI>

</UL>
<H4>2.11.0 BUG FIXES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
Using ‘with()’, ‘eval()’ etc with a list with some unnamed elements now
works.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14035">PR#14035</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘&quot;quick&quot;’ dispatch of S4 methods for primitive functions was not
happening, forcing a search each time.  (Dispatch for closures was not
affected.)  A side effect is that default values for arguments in a
method that do not have defaults in the generic will now be ignored.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Trying to dispatch S4 methods for primitives during the search for
inherited methods slows that search down and potentially could cause an
infinite recursion.  An internal switch was added to turn off all such
methods from ‘findInheritedMethods()’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
R framework installation (on Mac OS X) would not work properly if a
rogue ‘Resources’ directory was present at the top level.  Such a
non-symlink will now be renamed to ‘Resources.old’ (and anything
previously named ‘Resources.old’ removed) as part of the framework
installation process.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The checks for conforming S4 method arguments could fail when the
signature of the generic function omitted some of the formal arguments
(in addition to ‘...’).  Arguments omitted from the method definition
but conforming (per the documentation) should now be ignored (treated
as ‘&quot;ANY&quot;’) in dispatching.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The computations for S4 method evaluation when ‘...’ was in the
signature could fail, treating ‘...’ as an ordinary symbol.  This has
been fixed, for the known cases.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Various ‘ar()’ fitting methods have more protection for singular fits.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘callNextMethod’ now works again with the ‘drop=’ argument in ‘[’
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘parse()’ and ‘parse_Rd()’ miscounted columns when multibyte UTF-8
characters were present.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Formatting of help pages has had minor improvements: extra blank lines
have been removed from the text format, and empty package labels
removed from HTML.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘cor(A, B)’ where ‘A’ is n x 1 and ‘B’ a 1-dimensional array segfaulted
or gave an internal error.  (The case ‘cor(B, A)’ was <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=7116">PR#7116</a>.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘cut.POSIXt()’ applied to a start value after the DST transition on a
DST-change day could give the wrong time for argument ‘breaks’ in units
of days or longer.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14208">PR#14208</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘do_par()’ ‘UNPROTECT’ed too early (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14214">PR#14214</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Subassignment ‘x[[....]] &lt;- y’ didn't check for a zero-length right
hand side, and inserted a rubbish value.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14217">PR#14217</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘fisher.test()’ no longer gives a P-value *very* slightly &gt; 1, in some
borderline cases.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Internal function ‘matchArgs()’ no longer modifies the general purpose
bits of the ‘SEXP’s that make up the formals list of R functions.  This
fixes an invalid error message that would occur when a garbage
collection triggered a second call to matchArgs for the same function
_via_ a finalizer.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘gsub()’ in 2.10.x could fail from stack overflow for extremely long
strings due to temporary data being allocated on the stack.  Also,
‘gsub()’ with ‘fixed=TRUE’ is in some circumstances considerably
faster.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Several primitives, including ‘attributes()’, ‘attr&lt;-()’
‘interactive()’, ‘nargs()’ and ‘proc.time()’, did not check that they
were called with the correct number of arguments.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
A potential race condition in ‘list.files()’ when other processes are
operating on the directory has been fixed; the code now dynamically
allocates memory for file listings in a single pass instead of making
an initial count pass.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘mean(x, trim=, na.rm = FALSE)’ failed to return ‘NA’ if ‘x’ contained
missing values.  (Reported by Bill Dunlap.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Extreme tail behavior of, ‘pbeta()’ {and hence ‘pf()’}, e.g., ‘pbeta(x,
3, 2200, lower.tail=FALSE, log.p=TRUE)’ now returns finite values
instead of jumping to ‘-Inf’ too early.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14230">PR#14230</a>).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘parse(text=x)’ misbehaved for objects ‘x’ that were not coerced
internally to character, notably symbols.  (Reported to R-devel by Bill
Dunlap.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The internal C function ‘coerceSymbol’ now handles coercion to
character, and warns if coercion fails (rather than silently returning
‘NULL’).  This allows a name to be given where a character vector is
required in functions which coerce internally.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The interpretation by ‘strptime()’ of ‘&quot;%c&quot;’ was non-standard (not that
it is ever advisable to use locale- and system-specific input formats).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
capabilities(‘&quot;X11&quot;’) now works the same way on Mac OS X as on other
platforms (and as documented: it was always true for R built with
‘--with-aqua’, as the CRAN builds are).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘X11()’ device with cairo but not Pango (notably Mac OS X) now
checks validity of text strings in UTF-8 locales (since Pango does but
cairo it seems does not).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘read.fwf()’ misread multi-line records when n was specified.
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14241">PR#14241</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘all.equal(tolerance = e)’ passes the numeric tolerance also to the
comparison of the attributes.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘pgamma(0, 0)’, a boundary case, now returns 0, its limit from the
left, rather than the limit from the right.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Issuing ‘POST’ requests to the internal web server could stall the
request under certain circumstances.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘gzcon( &lt;textConnection&gt; )’, an error, no longer damages the connection
(in a way to have it segfault).  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14237">PR#14237</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
All the results from ‘hist()’ now use the nominal ‘breaks’ not those
adjusted by the numeric ‘fuzz’: in recent versions the nominal ‘breaks’
were reported but the 'density' referred to the intervals used in the
calculation - which mattered very slightly for one of the extreme bins.
(Based on a report by Martin Becker.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
If ‘xy[z].coords’ (used internally by many graphics functions) are
given a list as ‘x’, they now check that the list has suitable names
and give a more informative error message.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=13936">PR#13936</a>)
</DEL>
</P></LI>

</UL>
<H4>2.10.1 patched NEW FEATURES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
The handling of line textures in the ‘postscript()’ and ‘pdf()’ devices
was set up for round end caps (the only type which existed at the
time): it has now been adjusted for butt endcaps.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘lchoose(a, k)’ is now defined as ‘log(abs(choose(a,k)))’, analogously
to ‘lfactorial()’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Although ‘\eqn{}’ in Rd files is defined as a ‘verbatim’ macro, many
packages expected ‘...’ and ‘\ldots’ to be interpreted there (as was
the case in R &lt; 2.10.0), so this is now done (using an ellipsis in HTML
rendering).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Escaping of braces in quoted strings in R-code sections of Rd files is
allowed again.  This had been changed for the new Rd format in R 2.10.0
but was only documented on the developer site and was handled
inconsistently by the converters: text and example conversion removed
the escapes but HTML conversion did not.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The PCRE library has been updated to version 8.01, a bug-fix release.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘tools::readNEWS()’ now accepts a digit as the first character of a
news section.
</DEL>
</P></LI>

</UL>
<H4>2.10.1 patched BUG FIXES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
Using ‘read.table(header=TRUE)’ on a header with an embedded new line
would copy part of the header into the data.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14103">PR#14103</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘qpois(p = 1, lambda = 0)’ now gives 0 as for all other ‘p’.
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14135">PR#14135</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Functions related to string comparison (e.g. ‘unique()’, ‘match()’)
could cause crashes when used with strings not in the native encoding,
e.g. UTF-8 strings on Windows.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14114">PR#14114</a> and <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14125">PR#14125</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘x[ , drop=TRUE]’ dropped an ‘NA’ level even if it was in use.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The dynamic HTML help system reported the wrong MIME type for the style
sheet.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘tools::codoc()’ (used by ‘R CMD check’) was missing cases where the
function had no arguments but was documented to have some.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Help links containing special characters (e.g. ‘&quot;?&quot;’) were not
generated correctly when rendered in HTML.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14155">PR#14155</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘lchoose(a, k)’ no longer wrongly gives ‘NaN’ for negative ‘a’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘ks.test()’ could give a p-value that was off by one observation due to
rounding error.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14145">PR#14145</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘readBin()’/‘readChar()’ when reading millions of character strings in
a single call used excessive amounts of memory (which also slowed them
down).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD SHLIB’ could fail if used with paths that were not alphanumeric,
e.g. contained ‘+’.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14168">PR#14168</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘sprintf()’ was not re-entrant, which potentially caused problems if an
‘as.character()’ method called it.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘quartz()’ device did not restore the clipping region when filling
the background for a new page.  This could be observed in multi-page
bitmap output as stale outer regions of the plot.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘p.adjust(method, n)’ now works correctly for the rare case ‘n &gt;
length(p)’, also when method differs from ‘&quot;bonferroni&quot;’ or ‘&quot;none&quot;’,
thanks to a patch from Gordon Smyth.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘tools::showNonASCII()’ failed to detect non-ASCII characters if
‘iconv()’ (incorrectly) converted them to different ASCII characters.
(Seen on Windows only.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘tcrossprod()’ wrongly failed in some cases when one of the arguments
was a vector and the other a matrix.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘[cr]bind(..., deparse.level=2)’ was not always giving names when
documented to do so.  (Discovered whilst investigating <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14189">PR#14189</a>.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘match(incomparables=&lt;non-NULL&gt;)’ could in rare cases infinite-loop.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘poisson.test()’ needed to pass argument ‘conf.level’ to
‘binom.test()’.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14195">PR#14195</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘&quot;nls&quot;’ method for ‘df.residual()’ gave incorrect results for
models fitted with ‘na.action = na.exclude’.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14194">PR#14194</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
A change to ‘options(scipen=)’ was only implemented when printing next
occurred, even though it should have affected intervening calls to
‘axis()’, ‘contour()’ and ‘filledcontour()’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘prettyNum(drop0trailing=TRUE)’ did not handle signs of imaginary parts
of complex numbers correctly (and this was used by ‘str()’: <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14201">PR#14201</a>).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘system.time()’ had the ‘sys.child’ component wrong (copied
‘user.child’ instead) on systems with ‘HAVE_GETRUSAGE’.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14210">PR#14210</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Changing both line texture and line cap (end) resulted in the latter to
be omitted form the PDF code.  In addition, line cap (end) and join are
now set explicitly in PDF output to ensure correct defaults.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The suppression of auto-rotation in ‘bitmap()’ and ‘dev2bitmap()’ with
the ‘&quot;pdfwrite&quot;’ device was not working correctly.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘plot(ecdf(), log=&quot;x&quot;)’ no longer gives an incorrect warning.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘read.fwf()’ works again when argument ‘file’ is a connection.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Startup files will now be found if their paths exceed 255 bytes.
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14228">PR#14228</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘contrasts&lt;-’ (in the ‘stats’ package) no longer has an undeclared
dependence on ‘methods’ (introduced in 2.10.0).
</DEL>
</P></LI>

</UL>
<H4>2.10.1 NEW FEATURES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
The PCRE library has been updated to version 8.00.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD INSTALL’ has new options ‘--no-R’, ‘--no-libs’, ‘--no-data’,
‘--no-help’, ‘--no-demo’, ‘--no-exec’, and ‘--no-inst’ to suppress
installation of the specified part of the package.  These are intended
for special purposes (e.g. building a database of help pages without
fully installing all packages).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The documented line-length limit of 4095 bytes when reading from the
console now also applies also to ‘parse(file=&quot;&quot;)’ (which previously had
a limit of around 1024 bytes).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
A Bioconductor mirror can be set for use by ‘setRepositories()’ _via_
the option ‘&quot;BioC_mirror&quot;’, e.g. the European mirror can be selected by
‘options(BioC_mirror=&quot;http://bioconductor.statistik.tu-dortmund.de&quot;)’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Double-clicking in a ‘tk_select.list()’ list box now selects the item
and closes the list box (as happens on the Windows ‘select.list()’
widget).
</DEL>
</P></LI>

</UL>
<H4>2.10.1 INSTALLATION </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘configure’ will be able to find a usable ‘libtiff’ in some rare
circumstances where it did not previously (where ‘libtiff’ needed to be
linked explicitly against ‘-ljpeg’).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Making ‘refman.pdf’ works around a problem with the indexing with
‘hyperref 6.79d’ and later.
</DEL>
</P></LI>

</UL>
<H4>2.10.1 DEPRECATED &amp; DEFUNCT </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘extended’ argument is deprecated in ‘strsplit()’, ‘grep()’,
‘grepl()’, ‘sub()’, ‘gsub()’, ‘regexpr()’ and ‘gregexpr()’ (not just
the value ‘extended = FALSE’) and will be removed in R 2.11.0.
</DEL>
</P></LI>

</UL>
<H4>2.10.1 BUG FIXES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘trigamma(x)’ and other ‘psigamma(x, n)’ calls are now accurate for
very large ‘abs(x)’.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14020">PR#14020</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘[g]sub(perl=FALSE, fixed=FALSE)’ could use excessive stack space when
used with a very long vector containing some non-ASCII strings.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The default method of ‘weighted.mean(na.rm = TRUE)’ did not omit
weights for ‘NA’ observations in 2.10.0.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14032">PR#14032</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘[g]regexpr(pattern, fixed = TRUE)’ returned match positions in bytes
(not characters) in an MBCS locale if ‘pattern’ was a single byte.
</P>
<P>
‘[g]sub(fixed = TRUE)’ with a single-byte pattern could conceivably
have matched part of a multibyte character in a non-UTF-8 MBCS.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘findLineNum()’ and ‘setBreakpoint()’ would sometimes fail if the
specified file was not in the current directory.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Package ‘tcltk’'s ‘demo(tkdensity)’ was broken in 2.9.0 when ‘demo()’
was changed to set ‘par(ask = TRUE)’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘gsub()’ with backrefs could fail on extremely long strings (hundreds
of thousands of characters) due to integer overflow in a length
calculation.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘abline(untf=TRUE)’ now uses a better x-grid in log-scale, e.g., for
‘plot(c(1,300), c(1,300), log=&quot;xy&quot;); abline(4,1, untf=TRUE)’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘detach()’/‘unloadNamespace()’ arrange to flush the package's lazyload
cache of R objects once the package/namespace is no longer needed.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
There have been small fixes to the rendering of help, e.g. ‘\command’
is now rendered verbatim (so e.g. ‘--’ is not interpreted, <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14045">PR#14045</a>).
</P>
<P>
Also, there are many small changes to help files where the new
converters were not rendering them in the same way as before.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘available.packages()’ would fail when run on a repository with no
packages meeting the filtering conditions.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14042">PR#14042</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘rep(x, times, each = 2)’ gave invalid results when the ‘times’
argument was a vector longer than ‘x’.  Reported by Bill Dunlap.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
An error when ‘unloadNamespace()’ attempted to run the ‘.onUnload()’
function gave an error in the reporting function and so was not
reported properly.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Text help rendering did not handle very long input lines properly.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘promptMethods()’ generated signature documentation improperly.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘pgamma(x, a, lower.tail=FALSE)’ and ‘qgamma(...)’ are now considerably
more accurate in some regions for very small ‘a’.  ‘qgamma()’ now
correctly returns ‘0’ instead of ‘NaN’ in similar extreme cases, and
‘qgamma()’ no longer warns in the case of small ‘a’, see (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=12324">PR#12324</a>).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘unname()’ now also removes names from a zero length vector.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Printing results from ‘ls.str()’ no longer evaluates unevaluated calls.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘complete.cases()’ failed on a 0-column data frame argument.
(Underlies <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14066">PR#14066</a>.)
</P>
<P>
It could return nonsensical results if no input determined the number
of cases (seen in the no-segfault tests).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
An error in ‘nls()’ with a long formula could cause a segfault.
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14059">PR#14059</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘qchisq(p, df, ncp, lower.tail = FALSE)’ with ‘ncp &gt;= 80’ was
inaccurate for small ‘p’ (as the help page said): it is now less
inaccurate.  (In part, <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=13999">PR#13999</a>.)
</P>
<P>
For ‘ncp’ less than but close to 80, ‘pchisq()’ and ‘qchisq()’ are more
accurate for probablilities very close to 1 (a series expansion was
truncated slightly too early).
</P>
<P>
‘pchisq(x, df, ncp)’ can no longer return values just larger than one
for large values of ‘ncp’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘intToUtf8()’ could fail when asked to produce 10Mb or more strings,
something it was never intended to do: unfortunately Windows crashed R
(other OSes reported a lack of resources).  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14068">PR#14068</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘chisq.test()’ could fail when given argument ‘x’ or ‘y’ which deparsed
to more than one line.  (Reported by Laurent Gauthier.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
S4 methods are uncached whenever the name space containing them is
unloaded (by ‘unloadNamespace()’ as well as by ‘detach(unload =
TRUE))’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The internal record-keeping by ‘dyn.load’/‘dyn.unload’ was incomplete,
which could crash R if a DLL that registered ‘.External’ routines had
earlier been unloaded.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘bessel[JY](x, nu)’ with ‘nu’ a negative integer (a singular case) is
now correct, analogously to ‘besselI()’, see <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=13556">PR#13556</a>.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘tools::file_path_as_absolute()’ doubled the file separator when
applied to a file such as ‘&quot;/vmunix&quot;’ or (on Windows) ‘&quot;d:/afile&quot;’ in a
directory for which ‘getwd()’ would return a path with a trailing
separator (largely cosmetic, as reasonable file systems handle such a
path correctly).  (Perhaps what was meant by <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14078">PR#14078</a>.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘unsplit(drop = TRUE)’ applied to a data frame failed to pass ‘drop’ to
the computation of row names.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14084">PR#14084</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘&quot;difftime&quot;’ method of ‘mean()’ ignored its ‘na.rm’ argument.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘tcltk::tk_select.list()’ is now more likely to remove the widget
immediately after selection is complete.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Adding/subtracting a ‘&quot;difftime&quot;’ object to/from a ‘&quot;POSIXt&quot;’ or
‘&quot;Date&quot;’ object works again (it was broken by the addition of
‘Ops.difftime’).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Conversion to latex of an Rd file with no aliases failed.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘wilcox.test(conf.int=TRUE)’ has achieved.level corrected and, for
‘exact=FALSE’, now returns a ‘estimate’ component which does not depend
on the alternative used.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘help.search()’ failed when the package argument was specified.
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14113">PR#14113</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘switch(EXPR = &quot;A&quot;)’ now returns ‘NULL’, as does ‘switch(1)’ (which
used to signal an error).
</DEL>
</P></LI>

</UL>
<H4>2.10.0 SIGNIFICANT USER-VISIBLE CHANGES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
Package help is now converted from ‘Rd’ by the R-based converters that
were first introduced in 2.9.0.  This means
</P>
<P>
        • Packages that were installed by R-devel after 2009-08-09
          should not be used with earlier versions of R, and most
          aspects of package help (including the runnable examples)
          will be missing if they are so used.
</P>
<P>
        • Text, HTML and latex help and examples for packages installed
          under the new system are converted on-demand from stored
          parsed Rd files.  (Conversions stored in packages installed
          under R &lt; 2.10.0 are used if no parsed Rd files are found.
          It is recommended that such packages be re-installed.)
</P>
<P>
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
HTML help is now generated dynamically using an HTTP server running in
the R process and listening on the loopback interface.
</P>
<P>
        • Those worried about security implications of such a server
          can disable it by setting the environment variable
          ‘R_DISABLE_HTTPD’ to a non-empty value.  This disables
          ‘help.start()’ and HTML help (so text help is shown instead).
</P>
<P>
        • The Java/Javascript search engine has been replaced by an
          HTML interface to ‘help.search()’.  ‘help.start()’ no longer
          has an argument ‘searchEngine’ as it is no longer needed.
</P>
<P>
        • The HTML help can now locate cross-references of the form
          ‘\link[pkg]{foo}’ and ‘\link[pkg:foo]{bar}’ where ‘foo’ is an
          alias in the package, rather than the documented (basename of
          a) filename (since the documentation has been much ignored).
</P>
<P>
</DEL>
</P></LI>

</UL>
<H4>2.10.0 NEW FEATURES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘polygon()’, ‘pdf()’ and ‘postscript()’ now have an argument
‘fillOddEven’ (default ‘FALSE’), which controls the mode used for
polygon fills of self-intersecting shapes.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New ‘debugonce()’ function; further, ‘getOption(&quot;deparse.max.lines&quot;)’
is now observed when debugging, from a code suggestion by John
Brzustowski.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=13647">PR#13647</a>/8)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘plot()’ methods for ‘&quot;stepfun&quot;’ and hence ‘&quot;ecdf&quot;’ no longer plot
points by default for ‘n &gt;= 1000’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘[g]sub(perl=TRUE)’ now also supports ‘&quot;\E&quot;’ in order to *end* ‘&quot;\U&quot;’
and ‘&quot;\L&quot;’ case changes, thanks to a patch from Bill Dunlap.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘factor()’, ‘levels()&lt;-’, etc, now ensure that the resulting factor
levels are unique (as was always the implied intention).  Factors with
duplicated levels are still constructible by low-level means, but are
now declared illegal.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New ‘print()’ (S3) method for class ‘&quot;function&quot;’, also used for
auto-printing.  Further, ‘.Primitive’ functions now print and
auto-print identically.  The new method is based on code suggestions by
Romain François.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘print()’ and ‘toLatex()’ methods for class ‘&quot;sessionInfo&quot;’ now
show the locale in a nicer format and have arguments to suppress locale
information.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
In addition to previously only ‘round()’, there are other ‘Math’ group
(S3) methods for ‘&quot;difftime&quot;’, such as ‘floor()’, ‘signif()’, ‘abs()’,
etc.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
For completeness, ‘old.packages()’ and ‘available.packages()’ allow
arguments ‘type’ to be specified (you could always specify arguments
‘available’ or ‘contriburl’).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘available.packages()’ by default only returns information on the
latest versions of packages whose version requirements are satisfied by
the currently running R.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘tools::write_PACKAGES()’ has a new argument ‘latestOnly’, which
defaults to ‘TRUE’ when only the latest versions in the repository will
be listed in the index.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘getOption()’ has a new argument ‘default’ that is returned if the
specified option is not set.  This simplifies querying a value and
checking whether it is ‘NULL’ or not.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘parse()’ now warns if the requested encoding is not supported.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘&quot;table&quot;’ method of ‘as.data.frame()’ gains a ‘stringsAsFactors’
argument to allow the classifying factors to be returned as character
vectors rather than the default factor type.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
If ‘model.frame.default()’ encounters a character variable where ‘xlev’
indicates a factor, it now converts the variable to a factor (with a
warning).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘curve()’ now returns a list containing the points that w§ere drawn.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘spineplot()’ now accepts ‘axes = FALSE’, for consistency with other
functions called by ‘plot.factor()’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The Kendall and Spearman methods of ‘cor.test()’ can optionally use
continuity correction when not computing exact p-values.  (The Kendall
case is the wish of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=13691">PR#13691</a>.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
R now keeps track of line numbers during execution for code sourced
with ‘options(keep.source = TRUE)’.  The source reference is displayed
by debugging functions such as ‘traceback()’, ‘browser()’, ‘recover()’,
and ‘dump.frames()’, and is stored as an attribute on each element
returned by ‘sys.calls()’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
More functions now have an implicit (S4) generic definition.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘quantile.default()’ now disallows factors (wish of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=13631">PR#13631</a>) and its
help documents what numeric-like properties its input need to have to
work correctly.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘weighted.mean()’ is now generic and has ‘&quot;Date&quot;’, ‘&quot;POSIXct&quot;’ and
‘&quot;POSIXlt&quot;’ methods.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Naming subscripts (e.g. ‘x[i=1, j=2]’) in ‘data.frame’ methods for ‘[’
and ‘[[’ now gives a warning.  (Names are ignored in the default
method, but could have odd semantics for other methods, and do for the
data.frame ones.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘as.data.frame()’ has an ‘&quot;aovproj&quot;’ method.  (Wish of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=13505">PR#13505</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘as.character(x)’ for numeric ‘x’ no longer produces strings such as
‘&quot;0.30&quot;’, i.e., with trailing zeros.  This change also renders levels
construction in ‘factor()’ more consistent.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘codocClasses()’, which checks consistency of the documentation of S4
class slots, now does so in considerably more cases.  The documentation
of inherited slots (from superclasses) is now optional.  This affects
‘R CMD check &lt;pkg&gt;’ when the package defines S4 classes.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘codoc()’ now also checks S4 methods for code/documentation mismatches.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘for()’, ‘while()’, and ‘repeat()’ loops now always return NULL as
their (invisible) value.  This change was needed to address a reference
counting bug without creating performance penalties for some common use
cases.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘print()’ method for ‘ls.str()’ results now obeys an optional
‘digits’ argument.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘method’ argument of ‘glm()’ now allows user-contributed methods.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
More general ‘reorder.default()’ replaces functionality of
‘reorder.factor()’ and ‘reorder.character()’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The function ‘aspell()’ has been added to provide an interface to the
‘Aspell’ spell-checker.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Filters ‘RdTextFilter()’ and ‘SweaveTeXFilter()’ have been added to the
tools package to provide support for ‘aspell()’ or other spell
checkers.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘xtabs()’ with the new argument ‘sparse = TRUE’ now returns a sparse
Matrix, using package ‘Matrix’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘contr.sum()’ etc gain an argument ‘sparse’ which allows sparse
matrices to be returned.
</P>
<P>
‘contrasts()’ also gains a ‘sparse’ argument which it passes to the
actual contrast function if that has a formal argument ‘sparse’.
</P>
<P>
‘contrasts(f, .) &lt;- val’ now also works when ‘val’ is a sparse Matrix.
It is planned that ‘model.matrix()’ will work with such factors ‘f’ in
the future.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘readNEWS()’ will recognize a UTF-8 byte-order mark (BOM) in the ‘NEWS’
file.  However, it is safer to use only ASCII code there because not
all editors recognize BOMs.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New utility function ‘inheritedSlotNames()’ for S4 class programming.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘tabulate()’ now allows NAs to pass through (and be ignored).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
If ‘debug()’ is called on an S3 generic function then all methods are
debugged as well.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Outlier symbols drawn by ‘boxplot()’ now obey the ‘outlwd’ argument.
Reported by Jurgen Kluge.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘svd(x)’ and ‘eigen(x)’ now behave analogously to ‘qr(x)’ in accepting
logical matrices ‘x’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
File ‘NEWS’ is now in UTF-8, and has a BOM (often invisible) on the
first line, and ‘Emacs’ local variables set for UTF-8 at the end.
‘RShowDoc(&quot;NEWS&quot;)’ should display this correctly, given suitable fonts.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘terms.formula(simplify = TRUE)’ now does not deparse the LHS and so
preserves non-standard responses such as ‘`a: b`’ (requested by Sundar
Dorai-Raj).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New function ‘news()’ for building and querying R or package news
information.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘z^n’ for integer ‘n’ and complex ‘z’ is more accurate now if ‘|n| &lt;=
65536’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘factor(NULL)’ now returns the same as ‘factor(character(0))’ instead
of an error, and ‘table(NULL)’ consequently does analogously.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘as.data.frame.vector()’ (and its copies) is slightly faster by
avoiding a copy if there are no names (following a suggestion of Tim
Hesterberg).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘writeLines()’, ‘writeBin()’ and ‘writeChar()’ have a new argument
‘useBytes’.  If false, character strings with marked encodings are
translated to the current locale (as before) but if true they are
written byte-by-byte.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘iconv()’ has a new argument ‘mark’ which can be used (by experts) to
suppress the declaration of encodings.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘DESCRIPTION’ file's ‘LinkingTo’ specs are now recognized as
installation dependencies, and included in package management
computations.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Standardized ‘DESCRIPTION’ file ‘License’ specs are now available for
package management computations.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘&quot;\uxxxx&quot;’ and ‘&quot;\Uxxxxxxxx&quot;’ escapes can now be parsed to a UTF-8
encoded string even in non-UTF-8 locales (this has been implemented on
Windows since R 2.7.0).  The semantics have been changed slightly: a
string containing such escapes is always stored in UTF-8 (and hence is
suitable for portably including Unicode text in packages).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New ‘as.raw()’ method for ‘&quot;tclObj&quot;’ objects (wish of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=13758">PR#13758</a>).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘Rd.sty’ now makes a better job of setting email addresses, including
using a monospaced font.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘textConnection()’ gains an ‘encoding’ argument to determine how input
strings with marked encodings will be handled.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD Rd2pdf’ is available as a shortcut for ‘R CMD Rd2dvi --pdf’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD check’ now checks links where a package is specified
(‘\link[pkg]{file}’ or ‘\link[pkg:file]{topic}’), if the package is
available.  It notes if the package is not available, as in many cases
this is an error in the link.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘identical()’ gains three logical arguments, which allow for even more
differentiation, notably ‘-0’ and ‘0’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘legend()’ now can specify the ‘border’ color of filled boxes, thanks
to a patch from Frederic Schutz.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Indexing with a vector index to ‘[[ ]]’ has now been extended to all
recursive types.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Pairlists may now be assigned as elements of lists.  (Lists could
always be created with pairlist elements, but ‘[[&lt;-’ didn't support
assigning them.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The parser now supports C-preprocessor-like ‘#line’ directives, so
error messages and source references may refer to the original file
rather than an intermediate one.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New functions ‘findLineNum()’ and ‘setBreakpoint()’ work with the
source references to find the location of source lines and set
breakpoints (using ‘trace()’) at those lines.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Namespace importing is more careful about warning on masked generics,
thanks to a patch by Yohan Chalabi.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘detach()’ now has an argument ‘character.only’ with the same meaning
as for ‘library()’ or ‘require()’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘available.packages()’ gains a ‘filters’ argument for specifying the
filtering operations performed on the packages found in the
repositories.  A new built-in ‘&quot;license/FOSS&quot;’ filter only retains
packages for which installation can proceed solely based on packages
which can be verified as Free or Open Source Software (FOSS) employing
the available license specifications.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
In registering an S3 class by a call to ‘setOldClass()’, the data part
(e.g., the object type) required for the class can be included as one
of the superclasses in the Classes argument.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The argument ‘f’ to ‘showMethods()’ can be an expression evaluating to
a generic function, allowing methods to be shown for non-exported
generics and other nonstandard cases.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘sprintf()’ now supports ‘%o’ for octal conversions.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New function ‘Sys.readlink()’ for information about symbolic links,
including if a file is a symbolic link.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Package ‘tools’ has new functions ‘checkRdaFiles()’ and
‘resaveRdaFiles()’ to report on the format of ‘.rda’/‘.RData’ data
files, and to re-save them in a different compressed format, including
choosing the most compact format available.
</P>
<P>
A new ‘INSTALL’ option, ‘--resave-data’, makes use of this.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
File ‘~/.R/config’ is used in preference to ‘~/.Rconfig’, and these are
now documented in ‘R Installation and Administration’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Logic operations with complex numbers now work, as they were always
documented to, and as in S.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘arrows()’ and ‘segments()’ allow one of ‘x1’ or ‘y1’ to be omitted to
simplify the specification of vertical or horizontal lines (suggestion
of Tim Hesterberg).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘approxfun()’ is faster by avoiding repeated ‘NA’ checks (diagnosis and
patch by Karline Soetaert &amp; Thomas Petzoldt).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
There are the beginnings of a Nynorsk translation by Karl Ove
Hufthammer.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘stripchart()’ allows ‘par’ ‘bg’ to be passed in for the background
colour for ‘pch = 21’ (wish of <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=13984">PR#13984</a>).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New generic function ‘.DollarNames()’ to enable class authors to
customize completion after the ‘$’ extractor.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘load()’, ‘save()’, ‘dput()’ and ‘dump()’ now open a not-yet-open
connection in the appropriate mode (as other functions using
connections directly already did).
</DEL>
</P></LI>

</UL>
<H4>2.10.0 REGULAR EXPRESSIONS </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
A different regular expression engine is used for basic and extended
regexps and is also for approximate matching.  This is based on the TRE
library of Ville Laurikari, a modified copy of which is included in the
R sources.
</P>
<P>
This is often faster, especially in a MBCS locale.
</P>
<P>
Some known differences are that it is less tolerant of invalid inputs
in MBCS locales, and in its interpretation of undefined (extended)
regexps such as ‘&quot;^*&quot;’.  Also, the interpretation of ranges such as
‘[W-z]’ in caseless matching is no longer to map the range to lower
case.
</P>
<P>
This engine may in future be used in ‘literal’ mode for ‘fixed = TRUE’,
and there is a compile-time option in ‘src/main/grep.c’ to do so.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The use of repeated boundary regexps in ‘gsub()’ and ‘gregexpr()’ as
warned about in the help page does not work in this engine (it did in
the previous one since 2005).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Extended (and basic) regexps now support same set of options as for
‘fixed = TRUE’ and ‘perl = TRUE’, including ‘useBytes’ and support for
UTF-8-encoded strings in non-UTF-8 locales.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘agrep()’ now has full support for MBCS locales with a modest speed
penalty.  This enables ‘help.search()’ to use approximate matching
character-wise rather than byte-wise.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘[g]sub’ use a single-pass algorithm instead of matching twice and so
is usually faster.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘perl = TRUE’ versions now work correctly in a non-UTF-8 MBCS
locale, by translating the inputs to UTF-8.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘useBytes = TRUE’ now inhibits the translation of inputs with marked
encodings.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘strsplit()’ gains a ‘useBytes’ argument.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The algorithm used by ‘strsplit()’ has been reordered to batch by
elements of ‘split’: this can be much faster for ‘fixed = FALSE’ (as
multiple compilation of regexps is avoided).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The help pages, including ‘?regexp’, have been updated and should be
consulted for details of the new implementations.
</DEL>
</P></LI>

</UL>
<H4>2.10.0 HELP &amp; Rd FILE CHANGES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
A new dynamic HTML help system is used by default, and may be
controlled using ‘tools::startDynamicHelp()’.  With this enabled, HTML
help pages will be generated on request, resolving links by searching
through the current ‘.libPaths()’.  The user may set
options(‘&quot;help.ports&quot;’) to control which IP port is used by the server.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘help.start()’ no longer sets ‘options(htmlhelp = TRUE)’ (it used to on
Unix but not on Windows).  Nor does it on Unix reset the ‘&quot;browser&quot;’
option if given an argument of that name.
</P>
<P>
Arguments ‘update’ and ‘remote’ are now available on all platforms: the
default is ‘update = FALSE’ since the http server will update the
package index at first use.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘help()’ has a new argument ‘help_type’ (with default set by the option
of that name) to supersede arguments ‘offline’, ‘htmlhelp’ and
‘chmhelp’ (although for now they still work if ‘help_type’ is unset).
There is a new type, ‘&quot;PDF&quot;’ to allow offline PDF (rather than
PostScript).
</P>
<P>
A function ‘offline_help_helper()’ will be used if this exists in the
workspace or further down the search path, otherwise the function of
that name in the ‘utils’ name space is used.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Plain text help is now used as the fallback for HTML help (as it always
was for Compiled HTML help on Windows).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
It is possible to ask for static HTML pages to be prebuilt _via_ the
configure option ‘--enable-prebuilt-html’.  This may be useful for
those who wish to make HTML help available outside R, e.g. on a local
web site.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
An experimental tag ‘\Sexpr’ has been added to Rd files, to evaluate
expressions at build, install, or render time.  Currently install time
and render time evaluation are supported.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Tags ‘\if’, ‘\ifelse’ and ‘\out’ have been added to allow
format-specific (or more general, using ‘\Sexpr’) conditional text in
man pages.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘parse_Rd()’ parser has been made more tolerant of coding errors in
Rd files: now all syntax errors are reported as warnings, and an
attempt is made to continue parsing.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘parse_Rd()’ now has an argument ‘fragment’ (default ‘FALSE’) to accept
small fragments of Rd files (so that ‘\Sexpr’ can output Rd code which
is then parsed).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘parse_Rd()’ now always converts its input to UTF-8.  The ‘Rd2*’
rendering functions have a new argument, ‘outputEncoding’, which
controls how their output is encoded.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘parse_Rd()’ no longer includes the newline as part of a ‘&quot;%&quot;’-style
comment.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
There have been various bug fixes and code reorganization in the Rd
renderers ‘Rd2HTML’, ‘Rd2latex’, ‘Rd2txt’, and ‘Rd2ex’.
</P>
<P>
All example files are now created with either ASCII or UTF-8 encoding,
and the encoding is only marked in the file if there is any non-UTF-8
code (previously it was marked if the help file had non-ASCII contents,
possibly in other sections).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘print.Rd()’ now adds necessary escape characters so that printing and
re-parsing an Rd object should produce an equivalent object.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘parse_Rd()’ was incorrectly handling multiple backslashes in R code
strings, converting 4n+3 backslashes to 2n+1 instead of 2n+2.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘parse_Rd()’ now recognizes the ‘\var’ tag within a quoted string in
R-like text.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘parse_Rd()’ now treats the argument of ‘\command’ as LaTeX-like,
rather than verbatim.
</DEL>
</P></LI>

</UL>
<H4>2.10.0 COMPRESSION </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
New function ‘untar()’ to list or unpack tar archives, possibly
compressed.  This uses either an external ‘tar’ command or an internal
implementation.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New function ‘tar()’ to create (possibly compressed) tar archives.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New functions ‘memCompress()’ and ‘memDecompress()’ for in-memory
compression and decompression.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘bzfile()’ has a ‘compress’ argument to select the amount of effort put
into compression when writing.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New function ‘xzfile()’ for use with ‘xz’-compressed files.  (This can
also read files compressed by some versions of ‘lzma’.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘gzfile()’ looks at the file header and so can now also read ‘bzip2’-ed
files and ‘xz’-compressed files.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
There are the new options of ‘save(compress = &quot;bzip2&quot;)’ and ‘&quot;xz&quot;’ to
use ‘bzip2’ or ‘xz’ compression (which will be slower, but can give
substantially smaller files).  Argument ‘compression_level’ gives finer
control over the space/time tradeoffs.
</P>
<P>
‘load()’ can read such saves (but only as from this version of R).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD INSTALL’/‘check’ and ‘tools::writePACKAGES’ accept a wider range
of compressed tar archives.  Precisely how wide depends on the
capabilities of the host system's ‘tar’ command: they almost always
include ‘.tar.bz2’ archives, and with modern versions of ‘tar’ other
forms of compression such as ‘lzma’ and ‘xz’, and arbitrary extensions.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD INSTALL’ has a new option ‘--data-compress’ to control the
compression used when lazy-loading data.  New possibilities are
‘--data-compress=bzip2’ which will give ca 15% better compression at
the expense of slower installation times, and ‘--data-compress=xz’,
often giving even better compression on large datasets at the expense
of much longer installation times.  (The latter is used for the
recommended packages: it is particularly effective for ‘survival’.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘file()’ for open = ‘&quot;&quot;’, ‘&quot;r&quot;’ or ‘&quot;rt&quot;’ will automagically detect
compressed files (from ‘gzip’, ‘bzip2’ or ‘xz’).  This means that
compressed files can be specified by file name (rather than _via_ a
‘gzfile()’ connection) to ‘read.table()’, ‘readlines()’, ‘scan()’ and
so on.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘data()’ can handle compressed text files with extensions
‘.{txt,tab,csv}.{gz,bz2,xz}’ .
</DEL>
</P></LI>

</UL>
<H4>2.10.0 DEPRECATED &amp; DEFUNCT </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘png(type=&quot;cairo1&quot;)’ is defunct: the value is no longer recognized.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘tools::Rd_parse()’ is defunct (as this version of R uses only Rd
version 2).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Use of file ‘~/.Rconf’ (which was deprecated in favour of ‘~/.Rconfig’
in 2004) has finally been removed.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Bundles of packages are deprecated.  See ‘Writing R Extensions’ for the
steps needed to unbundle a bundle.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘help()’ arguments ‘offline’, ‘htmlhelp’ and ‘chmhelp’ are deprecated
in favour of ‘help_type’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘clearNames()’ (in package ‘stats’) is deprecated for ‘unname()’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Basic regular expressions (‘extended = FALSE’) are deprecated in
‘strsplit’, ‘grep’ and friends.  There is a precise POSIX standard for
them, but it is not what recent RE engines implement, and it seems that
in almost all cases package authors intended ‘fixed = TRUE’ when using
‘extended = FALSE’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘methods::trySilent()’ is deprecated in favour of ‘try(silent=TRUE)’ or
- more efficiently and flexibly - something like ‘tryCatch(error =
function(e) e)’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘index.search()’ is deprecated: there are no longer directories of
types other than ‘help’.
</DEL>
</P></LI>

</UL>
<H4>2.10.0 INSTALLATION </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
cairo &gt;= 1.2 is now required (1.2.0 was released in July 2006) for
cairo-based graphics devices (which remain optional).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
A suitable ‘iconv()’ is now required: support for configure option
‘--without-iconv’ has been withdrawn (it was deprecated in R 2.5.0).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Perl is no longer ‘essential’.  R can be built without it, but scripts
‘R CMD build’, ‘check’, ‘Rprof’ and ‘Sd2d’ currently require it.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
A system ‘glob’ function is now essential (a working ‘Sys.glob()’ has
been assumed since R 2.9.0 at least).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
C99 support for MBCS is now required, and configure option
‘--disable-mbcs’ has been withdrawn.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Having a version of ‘tar’ capable of automagically detecting compressed
archives is useful for ‘utils::untar()’, and so ‘gtar’ (a common name
for GNU ‘tar’) is preferred to ‘tar’: set environment variable ‘TAR’ to
specify a particular ‘tar’ command.
</DEL>
</P></LI>

</UL>
<H4>2.10.0 INTERNATIONALIZATION </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
There is some makefile support for adding/updating translations in
packages: see ‘po/README’ and ‘Writing R Extensions’.
</P>
<P>
There is support for the use of ‘dngettext’ for C-level translations in
packages: see ‘Writing R Extensions’.
</DEL>
</P></LI>

</UL>
<H4>2.10.0 BUG FIXES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
Assigning an extra 0-length column to a data frame by ‘DF[, &quot;foo&quot;] &lt;-
value’ now works in most cases (by filling with ‘NA’s) or fails.  (It
used to give a corrupt data frame.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘validObject()’ avoids an error during evaluation in the case of
various incorrect slot definitions.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘n:m’ now returns a result of type ‘&quot;integer&quot;’ in a few more boundary
cases.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘zap.ind’ argument to ‘printCoefmat()’ did not usually work as
other code attempted to ensure that non-zero values had a non-zero
representation.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘printCoefmat()’ formatted groups of columns together, not just the
‘cs.ind’ group but also the ‘zap.ind’ group and a residual group.  It
now formats all columns except the ‘cs.ind’ group separately (and zaps
the ‘zap.ind’ group column-by-column).  The main effect will be see in
the output from ‘print.anova()’, as this grouped SS-like columns in the
‘zap.ind’ group.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R_ReplDLLinit()’ initializes the top-level jump so that some embedded
applications on Windows no longer crash on error.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘identical()’ failed to take the encoding of character strings into
account, so identical byte patterns are not necessarily identical
strings, and similarly Latin-1 and UTF-8 versions of the same string
differ in byte pattern.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘methods(f)’ used to warn unnecessarily for an S4 generic ‘f’ which had
been created based on an existing S3 generic.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The check for consistent ordering of superclasses was not ignoring all
conditional relations (the symptom was usually spurious warnings for
classes extending ‘&quot;array&quot;’).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Trying to assign into a raw vector with an index vector containing
‘NA’s could cause a segfault.  Reported by Hervé Pagès.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘Rscript’ could segfault if (by user error) its filename argument was
missing.  Reported by Martin Morgan.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘getAnywhere()’ (and functions that use it, including argument
completion in the console) did not handle special built-in functions.
Reported by Romain Francois.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘order()’ was missing a ‘PROTECT()’ call and so could segfault when
called on character data under certain (rare) circumstances involving
marked non-native encodings.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘prettyNum(z, drop0trailing=TRUE)’ did not work correctly when ‘z’ was
a complex vector.  Consequently, ‘str(z, ...)’ also did not.
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=13985">PR#13985</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘make distclean’ removed too many files in ‘etc/’ if builddir = srcdir.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD’ replaced ‘TEXINPUTS’ rather than appending to it (as documented
and intended).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘help.start()’ no longer fails on unix when ‘&quot;browser&quot;’ is a function.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘pbeta(x, ..., log.p = TRUE)’ is sometimes more accurate, e.g., for
very small ‘x’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Unserializing a pre-2.8 workspace containing pure ASCII character
objects with a Latin-1 or UTF-8 encoding would corrupt the ‘CHARSXP’
cache.
</DEL>
</P></LI>

</UL>
<H4>2.12.2 patched BUG FIXES </H4>
<UL>
<LI><P>
Passing the invalid value ‘lty = NULL’ to ‘axis()’ sent an invalid
value to the graphics device, and might cause the device to segfault.
</P></LI>

<LI><P>
‘Sweave()’ with ‘concordance=TRUE’ could lead to invalid PDF files;
‘Sweave.sty’ has been updated to avoid this.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2011-03-07</title>
<pubDate>Sun, 06 Mar 2011 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/03/06#n2011-03-07</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/03/06#n2011-03-07</guid>
<description><![CDATA[<H4>2.12.2 patched BUG FIXES </H4>
<UL>
<LI><P>
In some circumstances a one-sided ‘mantelhaen.test()’ reported the
p-value for the wrong tail.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14514">PR#14514</a>)
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2011-02-28</title>
<pubDate>Sun, 27 Feb 2011 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/02/27#n2011-02-28</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/02/27#n2011-02-28</guid>
<description><![CDATA[<H4>2.12.2 patched NEW FEATURES </H4>
<UL>
<LI><P>
‘max()’ and ‘min()’ work harder to ensure that ‘NA’ has precedence over
‘NaN’, so e.g. ‘min(NaN, NA)’ is ‘NA’.  (This was not previously
documented except for within a single numeric vector, where compiler
optimizations often defeated the code.)
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2011-02-26</title>
<pubDate>Fri, 25 Feb 2011 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/02/25#n2011-02-26</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/02/25#n2011-02-26</guid>
<description><![CDATA[<H4>2.12.2 patched BUG FIXES </H4>
<UL>
<LI><P>
A change to the C function ‘R_tryEval’ had broken error messages in S4
method selection; the error message is now printed.
</P></LI>

<LI><P>
PDF output with non-RGB color model used RGB for the line stroke color.
<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14511">PR#14511</a>
</P></LI>

<LI><P>
‘stats4::BIC()’ assumed without checking that an object of class
‘&quot;logLik&quot;’ has an ‘&quot;nobs&quot;’ attribute: ‘glm()’ fits did not and so
‘BIC()’ failed for them.
</P></LI>

</UL>
<H4>2.12.2 PACKAGE INSTALLATION </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">Files ‘R/sysdata.rda’ of more than 1Mb are now stored in the lazyload database using ‘xz’ compression: this for example halves the installed size of package ‘Imap’.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2011-02-23</title>
<pubDate>Tue, 22 Feb 2011 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/02/22#n2011-02-23</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/02/22#n2011-02-23</guid>
<description><![CDATA[<H4>2.12.2 BUG FIXES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘identical()’ could in rare cases generate a warning about non-pairlist attributes on CHARSXPs.  As these are used for internal purposes, the attribute check should be skipped.  (Reported by Niels Richard Hansen).</INS>
</P></LI>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">If the filename extension (usually ‘.Rnw’) was not included in a call to ‘Sweave()’, source references would not work properly and the ‘keep.source’ option failed.  (PR#14459)</INS>
</P></LI>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">The function ‘qlogis(lp, log.p=TRUE)’ no longer prematurely overflows to ‘Inf’ when exp(lp) is close to 1.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2011-02-21</title>
<pubDate>Sun, 20 Feb 2011 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/02/20#n2011-02-21</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/02/20#n2011-02-21</guid>
<description><![CDATA[<H4>2.12.2 BUG FIXES </H4>
<UL>
<LI><P>
‘bug.report()’ was naive about how to extract maintainer email
addresses from package descriptions, so would often try mailing to
incorrect addresses.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2011-02-20</title>
<pubDate>Sat, 19 Feb 2011 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/02/19#n2011-02-20</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/02/19#n2011-02-20</guid>
<description><![CDATA[<H4>2.12.2 BUG FIXES </H4>
<UL>
<LI><P>
‘prettyNum(c(1i, NA), drop0=TRUE)’ or ‘str(NA_complex_)’ now work
correctly.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2011-02-19</title>
<pubDate>Fri, 18 Feb 2011 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/02/18#n2011-02-19</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/02/18#n2011-02-19</guid>
<description><![CDATA[<H4>2.12.2 BUG FIXES </H4>
<UL>
<LI><P>
‘debugger()’ could fail to read the environment of a call to a function
with a ‘...’ argument.  (Reported by Charlie Roosen.)
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2011-02-18</title>
<pubDate>Thu, 17 Feb 2011 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/02/17#n2011-02-18</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/02/17#n2011-02-18</guid>
<description><![CDATA[<H4>2.12.2 NEW FEATURES </H4>
<UL>
<LI><P>
‘R CMD check’ now checks for the correct use of ‘$(LAPACK_LIBS)’ (as
well as ‘$(BLAS_LIBS)’), since several CRAN recent submissions have
ignored ‘Writing R Extensions’.
</P></LI>

</UL>
<H4>2.12.2 PACKAGE INSTALLATION </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘R CMD INSTALL’ now ensures that directories installed from ‘inst’ have search permission for everyone.  </P>
<P>  It no longer installs files ‘inst/doc/Rplots.ps’ and ‘inst/doc/Rplots.pdf’.  These are almost certainly left-overs from ‘Sweave’ runs, and are often large.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2011-02-17</title>
<pubDate>Wed, 16 Feb 2011 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/02/16#n2011-02-17</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/02/16#n2011-02-17</guid>
<description><![CDATA[<H4>2.12.1 patched SIGNIFICANT USER-VISIBLE CHANGES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
Complex arithmetic (notably ‘z^n’ for complex ‘z’ and integer ‘n’) gave
incorrect results since R 2.10.0 on platforms without complex C99
complex support.  This and some lesser issues in trignometric functions
have been corrected.
</P>
<P>
Such platforms were rare (we know of Cygwin and FreeBSD).  However,
because of new compiler optimizations in the way complex arguments are
handled, the same code was selected on x86_64 Linux with ‘gcc 4.5.x’ at
the default ‘-O2’ optimization (but not at ‘-O’).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
There is a workaround for crashes seen with several packages on systems
using ‘zlib 1.2.5’: see the INSTALLATION section.
</DEL>
</P></LI>

</UL>
<H4>2.12.1 patched NEW FEATURES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
PCRE has been updated to 8.12 (two bug-fix releases since 8.10).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘rep()’, ‘seq()’, ‘seq.int()’ and ‘seq_len()’ report more often when
the first element is taken of an argument of incorrect length.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The Cocoa back-end for the ‘quartz()’ graphics device on Mac OS X
provides a way to disable event loop processing temporarily (useful,
e.g., for forked instances of R).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘kernel()’'s default for ‘m’ was not appropriate if ‘coef’ was a set of
coefficients.  (Reported by Pierre Chausse.)
</DEL>
</P></LI>

</UL>
<H4>2.12.1 patched INSTALLATION </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘zlib’ sources in the distribution are now built with all symbols
remapped: this is intended to avoid problems seen with packages such as
‘XML’ and ‘rggobi’ which link to ‘zlib.so.1’ on systems using ‘zlib
1.2.5’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The default for ‘FFLAGS’ and ‘FCFLAGS’ with ‘gfortran’ on x86_64 Linux
has been changed back to ‘-g -O2’: however, setting ‘-g -O’ may still
be needed for ‘gfortran 4.3.x’.
</DEL>
</P></LI>

</UL>
<H4>2.12.1 patched PACKAGE INSTALLATION </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
A ‘LazyDataCompression’ field in the ‘DESCRIPTION’ file will be used to
set the value for the ‘--data-compress’ option of ‘R CMD INSTALL’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Files ‘R/sysdata.rda’ of more than 1Mb are now stored in the lazyload
daabase using ‘xz’ compression: this for example halves the installed
size of package ‘Imap’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD INSTALL’ now ensures that directories installed from ‘inst’ have
search permission for everyone.
</DEL>
</P></LI>

</UL>
<H4>2.12.1 patched DEPRECATED &amp; DEFUNCT </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘experimental’ alternative specification of a name space via
‘.Export()’ etc is now deprecated.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘zip.file.extract()’ is now deprecated.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Zip-ing data sets in packages (and hence ‘R CMD INSTALL --use-zip-data’
and the ‘ZipData: yes’ field in a ‘DESCRIPTION’ file) is deprecated:
using efficiently compressed ‘.rda’ images and lazy-loading of data has
superseded it.
</DEL>
</P></LI>

</UL>
<H4>2.12.1 patched BUG FIXES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘identical’ could in rare cases generate a warning about non-pairlist
attributes on CHARSXPs.  As these are used for internal purposes, the
attribute check should be skipped.  (Reported by Niels Richard Hansen).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
If the filename extension (usually ‘.Rnw’) was not included in a call
to ‘Sweave()’, source references would not work properly, and the
‘keep.source’ option failed.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14459">PR#14459</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘format.data.frame()’ now keeps zero character column names.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘pretty(x)’ no longer raises an error when ‘x’ contains solely
non-finite values. (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14468">PR#14468</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘plot.TukeyHSD()’ function now uses a line width of 0.5 for its
reference lines rather than ‘lwd = 0’ (which caused problems for some
PDF and PostScript viewers).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘big.mark’ argument to ‘prettyNum()’, ‘format()’, etc. was inserted
reversed if it was more than one character long.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD check’ failed to check the filenames under ‘man’ for Windows'
reserved names.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘&quot;Date&quot;’ and ‘&quot;POSIXt&quot;’ methods for ‘seq()’ could overshoot when
‘to’ was supplied and ‘by’ was specified in months or years.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The internal method of ‘untar()’ now restores hard links as file copies
rather than symbolic links (which did not work for cross-directory
links).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘unzip()’ did not handle zip files which contained filepaths with two
or more leading directories which were not in the zipfile and did not
already exist.  (It is unclear if such zipfiles are valid and the
third-party C code used did not support them, but <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14462">PR#14462</a> created
one.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘combn(n, m)’ now behaves more regularly for the border case m = 0.
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14473">PR#14473</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The rendering of numbers in plotmath expressions (e.g.
‘expression(10^2)’) used the current settings for conversion to strings
rather than setting the defaults, and so could be affected by what has
been done before.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14477">PR#14477</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The methods of ‘napredict()’ and ‘naresid()’ for ‘na.action =
na.exclude’ fits did not work correctly in the very rare event that
every case had been omitted in the fit.  (Reported by Simon Wood.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘weighted.residuals(drop0=TRUE)’ returned a vector when the residuals
were a matrix (e.g. those of class ‘&quot;mlm&quot;’).  (Reported by Bill
Dunlap.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Package HTML index files ‘&lt;pkg&gt;/html/00Index.html’ were generated with
a stylesheet reference that was not correct for static browsing in
libraries.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘ccf(na.action = na.pass)’ was not implemented.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The parser accepted some incorrect numeric constants, e.g. ‘20x2’.
(Reported by Olaf Mersmann.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘format(*, zero.print)’ did not always replace the full zero parts.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Fixes for subsetting or subassignment of ‘&quot;raster&quot;’ objects when not
both ‘i’ and ‘j’ are specified.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD INSTALL’ was not always respecting the ‘ZipData: yes’ field of a
‘DESCRIPTION’ file (although this is frequently incorrectly specified
for packages with no data or which specify lazy-loading of data).
</P>
<P>
‘R CMD INSTALL --use-zip-data’ was incorrectly implemented as
‘--use-zipdata’ since R 2.9.0.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘source(file, echo=TRUE)’ could fail if the file contained ‘#line’
directives.  It now recovers more gracefully, but may still display the
wrong line if the directive gives incorrect information.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘atan(1i)’ returned ‘NaN+Infi’ (rather than ‘0+Infi’) on platforms
without C99 complex support.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘library()’ failed to cache S4 metadata (unlike ‘loadNamespace()’)
causing failures in S4-using packages without a namespace (e.g. those
using reference classes).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The logit() function ‘qlogis(lp, log.p=TRUE)’ no longer prematurely
overflows to ‘Inf’ when p := exp(lp) is close to 1.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Updating S4 methods for a group generic function requires resetting the
methods tables for the members of the group (patch contributed by
Martin Morgan).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
In some circumstances (including for package ‘XML’), ‘R CMD INSTALL’
installed version-control directories from source packages.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Added ‘PROTECT’ calls to some constructed expressions used in C level
‘eval’ calls.
</DEL>
</P></LI>

</UL>
<H4>2.12.2 SIGNIFICANT USER-VISIBLE CHANGES </H4>
<UL>
<LI><P>
Complex arithmetic (notably ‘z^n’ for complex ‘z’ and integer ‘n’) gave
incorrect results since R 2.10.0 on platforms without C99 complex
support.  This and some lesser issues in trignometric functions have
been corrected.
</P>
<P>
Such platforms were rare (we know of Cygwin and FreeBSD).  However,
because of new compiler optimizations in the way complex arguments are
handled, the same code was selected on x86_64 Linux with ‘gcc 4.5.x’ at
the default ‘-O2’ optimization (but not at ‘-O’).
</P></LI>

<LI><P>
There is a workaround for crashes seen with several packages on systems
using ‘zlib 1.2.5’: see the INSTALLATION section.
</P></LI>

</UL>
<H4>2.12.2 NEW FEATURES </H4>
<UL>
<LI><P>
PCRE has been updated to 8.12 (two bug-fix releases since 8.10).
</P></LI>

<LI><P>
‘rep()’, ‘seq()’, ‘seq.int()’ and ‘seq_len()’ report more often when
the first element is taken of an argument of incorrect length.
</P></LI>

<LI><P>
The Cocoa back-end for the ‘quartz()’ graphics device on Mac OS X
provides a way to disable event loop processing temporarily (useful,
e.g., for forked instances of R).
</P></LI>

<LI><P>
‘kernel()’'s default for ‘m’ was not appropriate if ‘coef’ was a set of
coefficients.  (Reported by Pierre Chausse.)
</P></LI>

<LI><P>
‘bug.report()’ has been updated for the current R bug tracker, which
does not accept emailed submissions.
</P></LI>

</UL>
<H4>2.12.2 INSTALLATION </H4>
<UL>
<LI><P>
The ‘zlib’ sources in the distribution are now built with all symbols
remapped: this is intended to avoid problems seen with packages such as
‘XML’ and ‘rggobi’ which link to ‘zlib.so.1’ on systems using ‘zlib
1.2.5’.
</P></LI>

<LI><P>
The default for ‘FFLAGS’ and ‘FCFLAGS’ with ‘gfortran’ on x86_64 Linux
has been changed back to ‘-g -O2’: however, setting ‘-g -O’ may still
be needed for ‘gfortran 4.3.x’.
</P></LI>

</UL>
<H4>2.12.2 PACKAGE INSTALLATION </H4>
<UL>
<LI><P>
A ‘LazyDataCompression’ field in the ‘DESCRIPTION’ file will be used to
set the value for the ‘--data-compress’ option of ‘R CMD INSTALL’.
</P></LI>

<LI><P>
Files ‘R/sysdata.rda’ of more than 1Mb are now stored in the lazyload
daabase using ‘xz’ compression: this for example halves the installed
size of package ‘Imap’.
</P></LI>

<LI><P>
‘R CMD INSTALL’ now ensures that directories installed from ‘inst’ have
search permission for everyone.
</P></LI>

</UL>
<H4>2.12.2 DEPRECATED &amp; DEFUNCT </H4>
<UL>
<LI><P>
The ‘experimental’ alternative specification of a name space via
‘.Export()’ etc is now deprecated.
</P></LI>

<LI><P>
‘zip.file.extract()’ is now deprecated.
</P></LI>

<LI><P>
Zip-ing data sets in packages (and hence ‘R CMD INSTALL --use-zip-data’
and the ‘ZipData: yes’ field in a ‘DESCRIPTION’ file) is deprecated:
using efficiently compressed ‘.rda’ images and lazy-loading of data has
superseded it.
</P></LI>

</UL>
<H4>2.12.2 BUG FIXES </H4>
<UL>
<LI><P>
‘identical’ could in rare cases generate a warning about non-pairlist
attributes on CHARSXPs.  As these are used for internal purposes, the
attribute check should be skipped.  (Reported by Niels Richard Hansen).
</P></LI>

<LI><P>
If the filename extension (usually ‘.Rnw’) was not included in a call
to ‘Sweave()’, source references would not work properly, and the
‘keep.source’ option failed.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14459">PR#14459</a>)
</P></LI>

<LI><P>
‘format.data.frame()’ now keeps zero character column names.
</P></LI>

<LI><P>
‘pretty(x)’ no longer raises an error when ‘x’ contains solely
non-finite values. (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14468">PR#14468</a>)
</P></LI>

<LI><P>
The ‘plot.TukeyHSD()’ function now uses a line width of 0.5 for its
reference lines rather than ‘lwd = 0’ (which caused problems for some
PDF and PostScript viewers).
</P></LI>

<LI><P>
The ‘big.mark’ argument to ‘prettyNum()’, ‘format()’, etc. was inserted
reversed if it was more than one character long.
</P></LI>

<LI><P>
‘R CMD check’ failed to check the filenames under ‘man’ for Windows'
reserved names.
</P></LI>

<LI><P>
The ‘&quot;Date&quot;’ and ‘&quot;POSIXt&quot;’ methods for ‘seq()’ could overshoot when
‘to’ was supplied and ‘by’ was specified in months or years.
</P></LI>

<LI><P>
The internal method of ‘untar()’ now restores hard links as file copies
rather than symbolic links (which did not work for cross-directory
links).
</P></LI>

<LI><P>
‘unzip()’ did not handle zip files which contained filepaths with two
or more leading directories which were not in the zipfile and did not
already exist.  (It is unclear if such zipfiles are valid and the
third-party C code used did not support them, but <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14462">PR#14462</a> created
one.)
</P></LI>

<LI><P>
‘combn(n, m)’ now behaves more regularly for the border case m = 0.
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14473">PR#14473</a>)
</P></LI>

<LI><P>
The rendering of numbers in plotmath expressions (e.g.
‘expression(10^2)’) used the current settings for conversion to strings
rather than setting the defaults, and so could be affected by what has
been done before.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14477">PR#14477</a>)
</P></LI>

<LI><P>
The methods of ‘napredict()’ and ‘naresid()’ for ‘na.action =
na.exclude’ fits did not work correctly in the very rare event that
every case had been omitted in the fit.  (Reported by Simon Wood.)
</P></LI>

<LI><P>
‘weighted.residuals(drop0=TRUE)’ returned a vector when the residuals
were a matrix (e.g. those of class ‘&quot;mlm&quot;’).  (Reported by Bill
Dunlap.)
</P></LI>

<LI><P>
Package HTML index files ‘&lt;pkg&gt;/html/00Index.html’ were generated with
a stylesheet reference that was not correct for static browsing in
libraries.
</P></LI>

<LI><P>
‘ccf(na.action = na.pass)’ was not implemented.
</P></LI>

<LI><P>
The parser accepted some incorrect numeric constants, e.g. ‘20x2’.
(Reported by Olaf Mersmann.)
</P></LI>

<LI><P>
‘format(*, zero.print)’ did not always replace the full zero parts.
</P></LI>

<LI><P>
Fixes for subsetting or subassignment of ‘&quot;raster&quot;’ objects when not
both ‘i’ and ‘j’ are specified.
</P></LI>

<LI><P>
‘R CMD INSTALL’ was not always respecting the ‘ZipData: yes’ field of a
‘DESCRIPTION’ file (although this is frequently incorrectly specified
for packages with no data or which specify lazy-loading of data).
</P>
<P>
‘R CMD INSTALL --use-zip-data’ was incorrectly implemented as
‘--use-zipdata’ since R 2.9.0.
</P></LI>

<LI><P>
‘source(file, echo=TRUE)’ could fail if the file contained ‘#line’
directives.  It now recovers more gracefully, but may still display the
wrong line if the directive gives incorrect information.
</P></LI>

<LI><P>
‘atan(1i)’ returned ‘NaN+Infi’ (rather than ‘0+Infi’) on platforms
without C99 complex support.
</P></LI>

<LI><P>
‘library()’ failed to cache S4 metadata (unlike ‘loadNamespace()’)
causing failures in S4-using packages without a namespace (e.g. those
using reference classes).
</P></LI>

<LI><P>
The logit() function ‘qlogis(lp, log.p=TRUE)’ no longer prematurely
overflows to ‘Inf’ when p := exp(lp) is close to 1.
</P></LI>

<LI><P>
Updating S4 methods for a group generic function requires resetting the
methods tables for the members of the group (patch contributed by
Martin Morgan).
</P></LI>

<LI><P>
In some circumstances (including for package ‘XML’), ‘R CMD INSTALL’
installed version-control directories from source packages.
</P></LI>

<LI><P>
Added ‘PROTECT’ calls to some constructed expressions used in C level
‘eval’ calls.
</P></LI>

<LI><P>
‘utils:::create.post()’ (used by ‘bug.report()’ and ‘help.request()’)
failed to quote arguments to the mailer, and so often failed.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2011-02-17</title>
<pubDate>Wed, 16 Feb 2011 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/02/16#c2011-02-17</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/02/16#c2011-02-17</guid>
<description><![CDATA[<H4>2.12.1 patched NEW FEATURES (Windows)</H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
Building badly-written vignettes which used the default device
(‘pdf(file = &quot;Rplots.pdf&quot;)’ could leave the device open and hence the
file ‘Rplots.pdf’ could not be removed on Windows: all devices are now
closed.
</DEL>
</P></LI>

</UL>
<H4>2.12.1 patched BUG FIXES (Windows)</H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
In some circumstances the caret (cursor) could be positioned
incorrectly. (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14460">PR#14460</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
When loading ‘Rconsole’ from disk, a spurious warning message was
sometimes shown.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
In R 2.12.1, ‘system()’ sometimes passed an empty input stream to the
new process rather than allowing user input.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The internal method for ‘untar()’ does a better job of unravelling
symbolic links in the tarball (but still with many limitations).
</DEL>
</P></LI>

</UL>
<H4>2.12.2 NEW FEATURES (Windows)</H4>
<UL>
<LI><P>
Building badly-written vignettes which used the default device
(‘pdf(file = &quot;Rplots.pdf&quot;)’ could leave the device open and hence the
file ‘Rplots.pdf’ could not be removed on Windows: all devices are now
closed.
</P></LI>

</UL>
<H4>2.12.2 BUG FIXES (Windows)</H4>
<UL>
<LI><P>
In some circumstances the caret (cursor) could be positioned
incorrectly. (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14460">PR#14460</a>)
</P></LI>

<LI><P>
When loading ‘Rconsole’ from disk, a spurious warning message was
sometimes shown.
</P></LI>

<LI><P>
In R 2.12.1, ‘system()’ sometimes passed an empty input stream to the
new process rather than allowing user input.
</P></LI>

<LI><P>
The internal method for ‘untar()’ does a better job of unravelling
symbolic links in the tarball (but still with many limitations).
</P></LI>

<LI><P>
Bug fixes for drawing raster objects on ‘windows()’.  The symptom was
the occasional raster image not being drawn, especially when drawing
multiple raster images in a single expression.  Thanks to Michael
Sumner for report and testing.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2011-02-14</title>
<pubDate>Sun, 13 Feb 2011 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/02/13#n2011-02-14</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/02/13#n2011-02-14</guid>
<description><![CDATA[<H4>2.12.1 patched PACKAGE INSTALLATION </H4>
<UL>
<LI><P>
‘R CMD INSTALL’ now ensures that directories installed from ‘inst’ have
search permission for everyone.
</P></LI>

</UL>
<H4>2.12.1 patched BUG FIXES </H4>
<UL>
<LI><P>
Added ‘PROTECT’ calls to some constructed expressions used in C level
‘eval’ calls.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2011-02-13</title>
<pubDate>Sat, 12 Feb 2011 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/02/12#n2011-02-13</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/02/12#n2011-02-13</guid>
<description><![CDATA[<H4>2.12.1 patched PACKAGE INSTALLATION </H4>
<UL>
<LI><P>
A ‘LazyDataCompression’ field in the ‘DESCRIPTION’ file will be used to
set the value for the ‘--data-compress’ option of ‘R CMD INSTALL’.
</P></LI>

<LI><P>
Files ‘R/sysdata.rda’ of more than 1Mb are now stored in the lazyload
daabase using ‘xz’ compression: this for example halves the installed
size of package ‘Imap’.
</P></LI>

</UL>
<H4>2.12.1 patched SIGNIFICANT USER-VISIBLE CHANGES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">Complex arithmetic (notably ‘z^n’ for complex ‘z’ and integer ‘n’) gave incorrect results since R 2.10.0 on platforms without complex C99 complex support.  This and some lesser issues in trignometric functions have been corrected.  </P>
<P>  Such platforms were rare (we know of Cygwin and FreeBSD).  However, because of new compiler optimizations in the way complex arguments are handled, the same code was selected on x86_64 Linux with ‘gcc 4.5.x’ at the default ‘-O2’ optimization (but not at ‘-O’).</INS>
</P></LI>
</UL>
<H4>2.12.1 patched NEW FEATURES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘rep()’, ‘seq()’, ‘seq.int()’ and ‘seq_len()’ report more often when the first element is taken of an argument of incorrect length.</INS>
</P></LI>
</UL>
<H4>2.12.1 patched BUG FIXES </H4>
<UL>
<LI><P>
In some circumstances (including for package ‘XML’), ‘R CMD INSTALL’
installed version-control directories from source packages.
</P></LI>

<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘library()’ failed to cache S4 metadata (unlike ‘loadNamespace()’) causing failures in S4-using packages without a namespace (e.g. those using reference classes).</INS>
</P></LI>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">Updating S4 methods for a group generic function requires resetting the methods tables for the members of the group (patch contributed by Martin Morgan).</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2011-02-12</title>
<pubDate>Fri, 11 Feb 2011 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/02/11#c2011-02-12</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/02/11#c2011-02-12</guid>
<description><![CDATA[<H4>2.12.1 patched NEW FEATURES (Windows)</H4>
<UL>
<LI><P>
Building badly-written vignettes which used the default device
(‘pdf(file = &quot;Rplots.pdf&quot;)’ could leave the device open and hence the
file ‘Rplots.pdf’ could not be removed on Windows: all devices are now
closed.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2011-02-11</title>
<pubDate>Thu, 10 Feb 2011 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/02/10#n2011-02-11</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/02/10#n2011-02-11</guid>
<description><![CDATA[<H4>2.12.1 patched BUG FIXES </H4>
<UL>
<LI><P>
The logit() function ‘qlogis(lp, log.p=TRUE)’ no longer prematurely
overflows to ‘Inf’ when p := exp(lp) is close to 1.
</P></LI>

<LI><P>
Updating methods for a group generic function requires resetting the
methods tables for the members of the group (patch contributed by
Martin Morgan).
</P></LI>

<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘library()’ failed to cache S4 metadata (unlike ‘loadNamespace()’) causing failures in some packages without a namespace (those using reference classes, e.g.).</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2011-02-10</title>
<pubDate>Wed, 09 Feb 2011 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/02/09#n2011-02-10</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/02/09#n2011-02-10</guid>
<description><![CDATA[<H4>2.12.1 patched SIGNIFICANT USER-VISIBLE CHANGES </H4>
<UL>
<LI><P>
Complex arithmetic (notably ‘z^n’ for complex ‘z’ and integer ‘n’) gave
incorrect results since R 2.10.0 on platforms without complex C99
complex support.  This and some lesser issues in trignometric functions
have been corrected.
</P>
<P>
Such platforms were rare (Cygwin, and apparently FreeBSD).  However,
because of new optimizations in the way complex arguments are handled,
the same code was selected on x86_64 Linux with ‘gcc 4.5.x’ at the
default ‘-O2’ optimization (but not at ‘-O’).
</P></LI>

<LI><P>
There is a workaround for crashes seen with several packages on systems
using ‘zlib 1.2.5’: see the INSTALLATION section.
</P></LI>

</UL>
<H4>2.12.1 patched NEW FEATURES </H4>
<UL>
<LI><P>
‘kernel()’'s default for ‘m’ was not appropriate if ‘coef’ was a set of
coefficients.  (Reported by Pierre Chausse.)
</P></LI>

</UL>
<H4>2.12.1 patched BUG FIXES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
Since R 2.10.0, ‘z^n’ was computed incorrectly for ‘n &gt;= 3’ and ‘n &lt;=
-3’ on platforms for which the macro ‘HAVE_C99_COMPLEX’ was not
defined.  Such platforms have been rare (but apparently included
FreeBSD), but now include x86_64 Linux with ‘gcc 4.5.x’ at the default
‘-O2’ optimization (but not at ‘-O’).
</DEL>
</P></LI>

<LI><P>
‘library()’ failed to cache meta data (unlike ‘loadNamespace()’)
causing failures in packages without a namespace.
</P></LI>

<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘atan(1i)’ returned ‘NaN+Infi’ (rather than ‘0+Infi’) on platforms without C99 complex support.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2011-02-08</title>
<pubDate>Mon, 07 Feb 2011 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/02/07#n2011-02-08</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/02/07#n2011-02-08</guid>
<description><![CDATA[<H4>2.12.1 patched BUG FIXES </H4>
<UL>
<LI><P>
‘atan(1i)’ returned ‘NaN+Infi’ (rather than the conventional value of
‘0+Infi’) on platforms without C99 complex support.
</P></LI>

<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">Since R 2.10.0, ‘z^n’ was computed incorrectly for ‘n &gt;= 3’ and ‘n &lt;= -3’ on platforms for which the macro ‘HAVE_C99_COMPLEX’ was not defined.  Such platforms have been rare (but apparently included FreeBSD), but now include x86_64 Linux with ‘gcc 4.5.x’ at the default ‘-O2’ optimization (but not at ‘-O’).</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2011-02-07</title>
<pubDate>Sun, 06 Feb 2011 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/02/06#n2011-02-07</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/02/06#n2011-02-07</guid>
<description><![CDATA[<H4>2.12.1 patched BUG FIXES </H4>
<UL>
<LI><P>
‘source(file, echo=TRUE)’ could fail if the file contained ‘#line’
directives.  It now recovers more gracefully, but may still display the
wrong line if the directive gives incorrect information.
</P></LI>

<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘R CMD INSTALL’ was not always respecting the ‘ZipData: yes’ field of a ‘DESCRIPTION’ file (although this is frequently incorrectly specified for packages with no data or which specify lazy-loading of data).  </P>
<P>  ‘R CMD INSTALL --use-zip-data’ was incorrectly implemented as ‘--use-zipdata’ since R 2.9.0.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2011-02-06</title>
<pubDate>Sat, 05 Feb 2011 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/02/05#n2011-02-06</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/02/05#n2011-02-06</guid>
<description><![CDATA[<H4>2.12.1 patched BUG FIXES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘R CMD INSTALL’ was not always respecting the ‘ZipData: yes’ field of a ‘DESCRIPTION’ file (although this is frequently incorrectly specified for packages with no data or which specify lazy-loading of data).  </P>
<P>  ‘R CMD INSTALL --use-zip-data’ was incorrectly implemented as ‘--use-zipdata’ since R 2.9.0.  </P>
<P>  ‘source(file, echo=TRUE)’ could fail if the file contained ‘#line’ directives.  It now recovers more gracefully, but may still display the wrong line if the directive gives incorrect information.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2011-02-03</title>
<pubDate>Wed, 02 Feb 2011 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/02/02#n2011-02-03</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/02/02#n2011-02-03</guid>
<description><![CDATA[<H4>2.12.1 patched NEW FEATURES </H4>
<UL>
<LI><P>
‘rep()’, ‘seq()’, ‘seq.int()’ and ‘seq_len()’ report more often when
the first element of an incorrect length argument is taken.
</P></LI>

<LI><P>
The Cocoa back-end for the ‘quartz()’ graphics device on Mac OS X
provides a way to disable event loop processing temporarily (useful,
e.g., for forked instances of R).
</P></LI>

</UL>
<H4>2.12.1 patched DEPRECATED &amp; DEFUNCT </H4>
<UL>
<LI><P>
Zip-ing data sets in packages (and hence ‘R CMD INSTALL --use-zip-data’
and the ‘ZipData: yes’ field in a ‘DESCRIPTION’ file) is deprecated:
using efficiently compressed ‘.rda’ images and lazy-loading of data has
superseded it.
</P></LI>

</UL>
<H4>2.12.1 patched BUG FIXES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘R CMD INSTALL’ was not always respecting the ‘ZipData: yes’ field of a ‘DESCRIPTION’ file (although this is frequently incorrectly specified for packages with no data or which specify lazy-loading of data).  </P>
<P>  ‘R CMD INSTALL --use-zip-data’ was incorrectly implemented as ‘--use-zipdata’ since R 2.9.0.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2011-02-02</title>
<pubDate>Tue, 01 Feb 2011 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/02/01#n2011-02-02</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/02/01#n2011-02-02</guid>
<description><![CDATA[<H4>2.12.1 patched DEPRECATED &amp; DEFUNCT </H4>
<UL>
<LI><P>
The ‘experimental’ alternative specification of a name space via
‘.Export()’ etc is now deprecated.
</P></LI>

<LI><P>
‘zip.file.extract()’ is now deprecated.
</P></LI>

</UL>
<H4>2.12.1 patched INSTALLATION </H4>
<UL>
<LI><P>
The default for ‘FFLAGS’ and ‘FCFLAGS’ with ‘gfortran’ on x86_64 Linux
has been changed back to ‘-g -O2’: however, setting ‘-g -O’ may still
be needed for ‘gfortran 4.3.x’.
</P></LI>

</UL>
<H4>2.12.1 patched BUG FIXES </H4>
<UL>
<LI><P>
Fixes for subsetting or subassignment of ‘&quot;raster&quot;’ objects when not
both ‘i’ and ‘j’ are specified.
</P></LI>

<LI><P>
‘R CMD INSTALL’ was not always respecting the ‘ZipData: yes’ field of a
‘DESCRIPTION’ file (although this is frequently incorrectly specified
for packages with no data or which specify lazy-loading of data).
</P></LI>

<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">Since R 2.10.0, ‘z^n’ was computed incorrectly for ‘n &gt;= 3’ and ‘n &lt;= -3’ on platforms for which the macro ‘HAVE_C99_COMPLEX’ was not defined.  Such platforms have been rare, but now include x86_64 Linux with ‘gcc 4.5.x’ at the default ‘-O2’ optimization (but not at ‘-O’).</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2011-02-01</title>
<pubDate>Mon, 31 Jan 2011 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/01/31#n2011-02-01</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/01/31#n2011-02-01</guid>
<description><![CDATA[<H4>2.12.1 patched BUG FIXES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">Since R 2.10.0, ‘z^n’ was computed incorrectly for ‘n &gt;= 3’ and ‘n &lt;= -3’ on platforms for which the macro ‘HAVE_C99_COMPLEX’ was not defined.  Such platforms have been very rare, but now include x86_64 Linux with ‘gcc 4.5.x’ at the default ‘-O2’ optimization (but not at ‘-O’).</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2011-01-31</title>
<pubDate>Sun, 30 Jan 2011 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/01/30#n2011-01-31</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/01/30#n2011-01-31</guid>
<description><![CDATA[<H4>2.12.1 patched BUG FIXES </H4>
<UL>
<LI><P>
Since R 2.10.0, ‘z^n’ was computed incorrectly except for ‘n &gt;= 3’ and
‘n &lt;= -3’ on platforms for which the macro ‘HAVE_C99_COMPLEX’ was not
defined.  Such platforms have been very rare, but now include x86_64
Linux with ‘gcc 4.5.x’ at the default ‘-O2’ optimization (but not at
‘-O’).
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2011-01-29</title>
<pubDate>Fri, 28 Jan 2011 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/01/28#n2011-01-29</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/01/28#n2011-01-29</guid>
<description><![CDATA[<H4>2.12.1 patched INSTALLATION </H4>
<UL>
<LI><P>
The ‘zlib’ sources in the distribution are now built with all symbols
remapped: this is intended to avoid problems seen with packages such as
‘XML’ and ‘rggobi’ which link to ‘zlib.so.1’ on systems using ‘zlib
1.2.5’.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2011-01-27</title>
<pubDate>Wed, 26 Jan 2011 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/01/26#n2011-01-27</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/01/26#n2011-01-27</guid>
<description><![CDATA[<H4>2.12.1 patched BUG FIXES </H4>
<UL>
<LI><P>
‘format(*, zero.print)’ did not always replace the full zero parts.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2011-01-26</title>
<pubDate>Tue, 25 Jan 2011 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/01/25#n2011-01-26</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/01/25#n2011-01-26</guid>
<description><![CDATA[<H4>2.12.1 patched BUG FIXES </H4>
<UL>
<LI><P>
The parser accepted some incorrect numeric constants, e.g. ‘20x2’.
(Reported by Olaf Mersmann.)
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2011-01-25</title>
<pubDate>Mon, 24 Jan 2011 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/01/24#n2011-01-25</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/01/24#n2011-01-25</guid>
<description><![CDATA[<H4>2.12.1 patched BUG FIXES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">The ‘plot.TukeyHSD()’ function now uses a line width of 0.5 for its reference lines rather than ‘lwd = 0’ (which caused problems for some PDF and PostScript viewers).</INS>
</P></LI>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">The rendering of numbers in plotmath expressions (e.g. ‘expression(10^2)’) used the current settings for conversion to strings rather than setting the defaults, and so could be affected by what has been done before.  (PR#14477)</INS>
</P></LI>
</UL>
<H4>2.12.1 BUG FIXES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">Reference S4 class creation could generate ambiguous inheritance patterns under very special circumstances.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2011-01-24</title>
<pubDate>Sun, 23 Jan 2011 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/01/23#n2011-01-24</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/01/23#n2011-01-24</guid>
<description><![CDATA[<H4>2.12.1 patched NEW FEATURES </H4>
<UL>
<LI><P>
PCRE has been updated to 8.12 (two bug-fix releases since 8.10).
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2011-01-22</title>
<pubDate>Fri, 21 Jan 2011 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/01/21#n2011-01-22</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/01/21#n2011-01-22</guid>
<description><![CDATA[<H4>2.12.1 patched BUG FIXES </H4>
<UL>
<LI><P>
Package HTML index files ‘&lt;pkg&gt;/html/00Index.html’ were generated with
a stylesheet reference that was not correct for static browsing in
libraries.
</P></LI>

<LI><P>
‘ccf(na.action = na.pass)’ was not implemented.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2011-01-21</title>
<pubDate>Thu, 20 Jan 2011 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/01/20#n2011-01-21</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/01/20#n2011-01-21</guid>
<description><![CDATA[<H4>2.12.1 patched BUG FIXES </H4>
<UL>
<LI><P>
The methods of ‘napredict()’ and ‘naresid()’ for ‘na.action =
na.exclude’ fits did not work correctly in the very rare event that
every case had been omitted in the fit.  (Reported by Simon Wood.)
</P></LI>

<LI><P>
‘weighted.residuals(drop0=TRUE)’ returned a vector when the residuals
were a matrix (e.g. those of class ‘&quot;mlm&quot;’).  (Reported by Bill
Dunlap.)
</P></LI>

<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘identical’ could in rare cases generate a warning about non-pairlist attributes on CHARSXPs.  As these are used for internal purposes, the attribute check should be skipped.  (Reported by Niels Richard Hansen).</INS>
</P></LI>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">If the filename extension (usually ‘.Rnw’) was not included in a call to ‘Sweave()’, source references would not work properly, and the ‘keep.source’ option failed.  (PR#14459)</INS>
</P></LI>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘combn(n, m)’ now behaves more regularly for the border case m = 0. (PR#14473)</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2011-01-19</title>
<pubDate>Tue, 18 Jan 2011 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/01/18#n2011-01-19</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/01/18#n2011-01-19</guid>
<description><![CDATA[<H4>2.12.1 patched BUG FIXES </H4>
<UL>
<LI><P>
The rendering of numbers in plotmath expressions (e.g.
‘expression(10^2)’ used the current settings for conversion to strings
rather than setting the defaults, and so could be affected by what has
been done before.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14477">PR#14477</a>)
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2011-01-18</title>
<pubDate>Mon, 17 Jan 2011 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/01/17#n2011-01-18</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/01/17#n2011-01-18</guid>
<description><![CDATA[<H4>2.12.1 patched BUG FIXES </H4>
<UL>
<LI><P>
‘combn(n,m)’ now behaves more regularly for the border case m = 0.
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14473">PR#14473</a>)
</P></LI>

</UL>
<H4>2.12.1 BUG FIXES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">Reference class creation could generate ambiguous inheritance patterns under very special circumstances.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2011-01-13</title>
<pubDate>Wed, 12 Jan 2011 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/01/12#n2011-01-13</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/01/12#n2011-01-13</guid>
<description><![CDATA[<H4>2.12.1 patched BUG FIXES </H4>
<UL>
<LI><P>
‘unzip()’ did not handle zip files which contained filepaths with two
or more leading directories which were not in the zipfile and did not
already exist.  (It is unclear if such zipfiles are valid and the
third-party C code used did not support them, but <a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14462">PR#14462</a> created
one.)
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2011-01-07</title>
<pubDate>Thu, 06 Jan 2011 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/01/06#c2011-01-07</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/01/06#c2011-01-07</guid>
<description><![CDATA[<H4>2.12.1 patched BUG FIXES (Windows)</H4>
<UL>
<LI><P>
The internal method for ‘untar()’ does a better job of unravelling
symbolic links in the tarball (but still with many limitations).
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2011-01-07</title>
<pubDate>Thu, 06 Jan 2011 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/01/06#n2011-01-07</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/01/06#n2011-01-07</guid>
<description><![CDATA[<H4>2.12.1 patched BUG FIXES </H4>
<UL>
<LI><P>
The ‘&quot;Date&quot;’ and ‘&quot;POSIXt&quot;’ methods for ‘seq()’ could overshoot when
‘to’ was supplied and ‘by’ was specified in months or years.
</P></LI>

<LI><P>
The internal method of ‘untar()’ now restores hard links as file copies
rather than symbolic links (which did not work for cross-directory
links).
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2011-01-05</title>
<pubDate>Tue, 04 Jan 2011 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/01/04#n2011-01-05</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2011/01/04#n2011-01-05</guid>
<description><![CDATA[<H4>2.12.1 patched BUG FIXES </H4>
<UL>
<LI><P>
‘identical’ could in rare cases generate a warning about non-pairlist
attributes on CHARSXPs. As these are used for internal purposes, the
attribute check should be skipped. (Reported by Niels Richard Hansen).
</P></LI>

<LI><P>
The ‘plot.TukeyHSD’ function now uses a line width of 0.5 for its
reference lines rather than ‘lwd = 0’ (which caused problems for some
PDF and PostScript viewers).
</P></LI>

<LI><P>
The ‘big.mark’ argument to ‘prettyNum()’, ‘format()’, etc. was inserted
reversed if it was more than one character long.
</P></LI>

<LI><P>
‘R CMD check’ failed to check the filenames under ‘man’ for Windows'
reserved names.
</P></LI>

</UL>
<H4>2.12.1 NEW FEATURES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">New S4 reference class utility methods ‘copy()’, ‘field()’, ‘getRefClass()’ and ‘getClass()’ have been added to package ‘methods’.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2010-12-28</title>
<pubDate>Mon, 27 Dec 2010 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/12/27#n2010-12-28</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/12/27#n2010-12-28</guid>
<description><![CDATA[<H4>2.12.1 patched BUG FIXES </H4>
<UL>
<LI><P>
‘format.data.frame()’ now keeps zero character column names.
</P></LI>

<LI><P>
‘pretty(x)’ no longer raises an error when ‘x’ contains solely
non-finite values. (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14468">PR#14468</a>)
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2010-12-22</title>
<pubDate>Tue, 21 Dec 2010 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/12/21#c2010-12-22</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/12/21#c2010-12-22</guid>
<description><![CDATA[<H4>2.12.1 patched BUG FIXES (Windows)</H4>
<UL>
<LI><P>
In R 2.12.1, ‘system()’ sometimes passed an empty input stream to the
new process rather than allowing user input.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2010-12-17</title>
<pubDate>Thu, 16 Dec 2010 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/12/16#c2010-12-17</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/12/16#c2010-12-17</guid>
<description><![CDATA[<H4>2.12.1 patched BUG FIXES (Windows)</H4>
<UL>
<LI><P>
In some circumstances the caret (cursor) could be positioned
incorrectly. (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14460">PR#14460</a>)
</P></LI>

<LI><P>
When loading ‘Rconsole’ from disk, a spurious warning message was
sometimes shown.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2010-12-17</title>
<pubDate>Thu, 16 Dec 2010 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/12/16#n2010-12-17</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/12/16#n2010-12-17</guid>
<description><![CDATA[<H4>2.12.1 patched BUG FIXES </H4>
<UL>
<LI><P>
If the extension was not included in a call to ‘Sweave()’, source
references would not work properly, and the ‘keep.source’ option
failed. (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14459">PR#14459</a>)
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2010-12-15</title>
<pubDate>Tue, 14 Dec 2010 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/12/14#n2010-12-15</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/12/14#n2010-12-15</guid>
<description><![CDATA[<H4>2.12.1 NEW FEATURES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">&lt;URL: http://www.rforge.net&gt; has been added to the default set of repositories known to ‘setRepositories()’.</INS>
</P></LI>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">New reference class utility methods ‘copy()’, ‘field()’, ‘getRefClass()’ and ‘getClass()’ have been added.</INS>
</P></LI>
</UL>
<H4>2.12.1 BUG FIXES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">The ‘data.frame’ method of ‘format()’ failed if a column name was longer than 256 bytes (the maximum length allowed for an R name).</INS>
</P></LI>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">Use of ‘[[&lt;-’ for S4 subclasses of ‘"environment"’ generated an infinite recursion from the method.  The method has been replaced by internal code.</INS>
</P></LI>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘[[&lt;-’ turned S4 subclasses of ‘"environment"’ into plain environments.</INS>
</P></LI>
</UL>
<H4>2.11.1 patched BUG FIXES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">The internal ‘strptime()’ could corrupt its copy of the timezone which would then lead to spurious warnings. (PR#14338)</INS>
</P></LI>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘wilcox.test(x, y, conf.int = TRUE)’ failed with an unhelpful message if ‘x’ and ‘y’ were constant vectors, and similarly in the one-sample case.  (PR#14329)</INS>
</P></LI>
</UL>
<H4>2.11.0 BUG FIXES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘callNextMethod’ now works again with the ‘drop=’ argument in ‘[’</INS>
</P></LI>
</UL>
<H4>2.10.0 NEW FEATURES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘factor()’, ‘levels()&lt;-’, etc, now ensure that the resulting factor levels are unique (as was always the implied intention).  Factors with duplicated levels are still constructible by low-level means, but are now declared illegal.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2010-12-08</title>
<pubDate>Tue, 07 Dec 2010 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/12/07#n2010-12-08</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/12/07#n2010-12-08</guid>
<description><![CDATA[<H4>2.12.0 patched NEW FEATURES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
The DVI/PDF reference manual now includes the help pages for all the
standard packages: ‘splines’, ‘stats4’ and ‘tcltk’ were previously
omitted (intentionally).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
&lt;URL: http://www.rforge.net&gt; has been added to the default set of
repositories known to ‘setRepoositories()’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
xz-utils has been updated to version 5.0.0.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘reshape()’ now makes use of ‘sep’ when forming names during reshaping
to wide format.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14435">PR#14435</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘legend()’ allows the length of lines to be set by the end user _via_
the new argument ‘seg.len’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
New reference class utility methods ‘copy’, ‘field’, ‘getRefClass’ and
‘getClass’ have been added.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
When a character value is used for the ‘EXPR’ argument in ‘switch()’, a
warning is given if more than one unnamed alternative value is given.
This will become an error in R 2.13.0.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘StructTS(type = &quot;BSM&quot;)’ now allows series with just two seasons.
(Reported by Birgit Erni.)
</DEL>
</P></LI>

</UL>
<H4>2.12.0 patched INSTALLATION </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
The PDF reference manual is now built as PDF version 1.5 with object
compression, which on platforms for which this is not the default
(notably MiKTeX) halves its size.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Variable ‘FCLIBS’ can be set during configuration, for any additional
library flags needed when linking a shared object with the Fortran 9x
compiler.  (Needed with Solaris Studio 12.2.)
</DEL>
</P></LI>

</UL>
<H4>2.12.0 patched BUG FIXES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘seq.int()’ no longer sometimes evaluates arguments twice.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14388">PR#14388</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘data.frame’ method of ‘format’ failed if a column name was longer
than 256 bytes (the maximum length allowed for an R name).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘predict(&lt;lm object&gt;, type =&quot;terms&quot;, ...)’ failed if both ‘terms’ and
‘interval’ were specified.  (Reported by Bill Dunlap.)
</P>
<P>
Also, if ‘se.fit = TRUE’ the standard errors were reported for all
terms, not just those selected by a non-null ‘terms’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The TRE regular expressions engine could terminate R rather than give
an error when given certain invalid regular expressions.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14398">PR#14398</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘cmdscale(eig = TRUE)’ was documented to return n-1 eigenvalues but in
fact only returned ‘k’.  It now returns all n eigenvalues.
</P>
<P>
‘cmdscale(add = TRUE)’ failed to centre the return configuration and
sometimes lost the labels on the points.  Its return value was
described wrongly (it is always a list and contains component ‘ac’).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘promptClass()’ in package ‘methods’ now works for reference classes
and gives a suitably specialized skeleton of documentation.
</P>
<P>
Also, ‘callSuper()’ now works via the ‘methods()’ invocation as well as
for initially specified methods.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘download.file()’ could leave the destination file open if the URL was
not able to be opened.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14414">PR#14414</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Assignment of an environment to functions or as an attribute to other
objects now works for S4 subclasses of ‘&quot;environment&quot;’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Use of ‘`[[&lt;-`’ for S4 subclasses of ‘&quot;environment&quot;’ generated an
infinite recursion from the method.  The method has been replaced by
internal code.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
In a reference class S4 method, ‘callSuper()’ now works in
‘initialize()’ methods when there is no explicit superclass method.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘!’ dropped attributes such as names and dimensions from a length-zero
argument.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14424">PR#14424</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
When ‘list2env()’ created an environment it was missing a ‘PROTECT’
call and so was vulnerable to garbage collection.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘Sweave()’ with ‘keep.source=TRUE’ dropped comments at the start and
end of code chunks.  It could also fail when ‘\SweaveInput’ was
combined with named chunks.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The Fortran code used by ‘nls(algorithm = &quot;port&quot;)’ could infinite-loop
when compiled with high optimization on a modern version of ‘gcc’, and
‘SAFE_FFLAGS’ is now used to make this less likely.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14427">PR#14427</a>, seen
with 32-bit Windows using ‘gcc 4.5.0’ used from R 2.12.0.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘sapply()’ with default ‘simplify = TRUE’ and ‘mapply()’ with default
‘SIMPLIFY = TRUE’ wrongly simplified language-like results, as, e.g.,
in ‘mapply(1:2, c(3,7), FUN = function(i,j) call(':',i,j))’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Backreferences to undefined patterns in ‘[g]sub(pcre = TRUE)’ could
cause a segfault.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14431">PR#14431</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The ‘format()’ (and hence the ‘print()’) method for class ‘&quot;Date&quot;’
rounded fractional dates towards zero: it now always rounds them down.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Reference S4 class creation could generate ambiguous inheritance
patterns under very special circumstances.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘`[[&lt;-`’ turned S4 subclasses of ‘&quot;environment&quot;’ into plain
environments.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Long titles for help pages were truncated in package indices and a few
other places.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Additional utilities now work correctly with S4 subclasses of
‘&quot;environment&quot;’ (‘rm’, locking tools and active bindings).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘spec.ar()’ now also work for the ‘&quot;ols&quot;’ method.  (Reported by
Hans-Ruedi Kuensch.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The initialization of objects from S4 subclasses of ‘&quot;environment&quot;’ now
allocates a new environment object.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD check’ has more protection against (probably erroneous) example
or test output which is invalid in the current locale.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘qr.X()’ with column names and pivoting now also pivots the column
names.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14438">PR#14438</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘unit.pmax()’ and ‘unit.pmin()’ in package ‘grid’ gave incorrect
results when all inputs were of length 1.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14443">PR#14443</a>)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The parser for ‘NAMESPACE’ files ignored misspelled directives, rather
than signalling an error.  For 2.12.x a warning will be issued, but
this will be correctly reported as an error in later releases.
(Reported by Charles Berry.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Fix for subsetting of ‘&quot;raster&quot;’ objects when only one of ‘i’ or ‘j’ is
specified.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘grid.raster()’ in package ‘grid’ did not accept ‘&quot;nativeRaster&quot;’
objects (like ‘rasterImage()’ does).
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Rendering raster images in PDF output was resetting the clipping
region.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Rendering of raster images on Cairo X11 device was wrong, particularly
when a small image was being scaled up using interpolation.
</P>
<P>
With Cairo &lt; 1.6, will be better than before, though still a little
clunky.  With Cairo &gt;= 1.6, should be sweet as.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Several bugs fixed in ‘read.DIF()’: single column inputs caused errors,
cells marked as ‘&quot;character&quot;’ could be converted to other types, and
(in Windows) copying from the clipboard failed.
</DEL>
</P></LI>

</UL>
<H4>2.12.1 NEW FEATURES </H4>
<UL>
<LI><P>
The DVI/PDF reference manual now includes the help pages for all the
standard packages: ‘splines’, ‘stats4’ and ‘tcltk’ were previously
omitted (intentionally).
</P></LI>

<LI><P>
&lt;URL: http://www.rforge.net&gt; has been added to the default set of
repositories known to ‘setRepoositories()’.
</P></LI>

<LI><P>
xz-utils has been updated to version 5.0.0.
</P></LI>

<LI><P>
‘reshape()’ now makes use of ‘sep’ when forming names during reshaping
to wide format.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14435">PR#14435</a>)
</P></LI>

<LI><P>
‘legend()’ allows the length of lines to be set by the end user _via_
the new argument ‘seg.len’.
</P></LI>

<LI><P>
New reference class utility methods ‘copy’, ‘field’, ‘getRefClass’ and
‘getClass’ have been added.
</P></LI>

<LI><P>
When a character value is used for the ‘EXPR’ argument in ‘switch()’, a
warning is given if more than one unnamed alternative value is given.
This will become an error in R 2.13.0.
</P></LI>

<LI><P>
‘StructTS(type = &quot;BSM&quot;)’ now allows series with just two seasons.
(Reported by Birgit Erni.)
</P></LI>

</UL>
<H4>2.12.1 INSTALLATION </H4>
<UL>
<LI><P>
The PDF reference manual is now built as PDF version 1.5 with object
compression, which on platforms for which this is not the default
(notably MiKTeX) halves its size.
</P></LI>

<LI><P>
Variable ‘FCLIBS’ can be set during configuration, for any additional
library flags needed when linking a shared object with the Fortran 9x
compiler.  (Needed with Solaris Studio 12.2.)
</P></LI>

</UL>
<H4>2.12.1 BUG FIXES </H4>
<UL>
<LI><P>
‘seq.int()’ no longer sometimes evaluates arguments twice.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14388">PR#14388</a>)
</P></LI>

<LI><P>
The ‘data.frame’ method of ‘format’ failed if a column name was longer
than 256 bytes (the maximum length allowed for an R name).
</P></LI>

<LI><P>
‘predict(&lt;lm object&gt;, type =&quot;terms&quot;, ...)’ failed if both ‘terms’ and
‘interval’ were specified.  (Reported by Bill Dunlap.)
</P>
<P>
Also, if ‘se.fit = TRUE’ the standard errors were reported for all
terms, not just those selected by a non-null ‘terms’.
</P></LI>

<LI><P>
The TRE regular expressions engine could terminate R rather than give
an error when given certain invalid regular expressions.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14398">PR#14398</a>)
</P></LI>

<LI><P>
‘cmdscale(eig = TRUE)’ was documented to return n-1 eigenvalues but in
fact only returned ‘k’.  It now returns all n eigenvalues.
</P>
<P>
‘cmdscale(add = TRUE)’ failed to centre the return configuration and
sometimes lost the labels on the points.  Its return value was
described wrongly (it is always a list and contains component ‘ac’).
</P></LI>

<LI><P>
‘promptClass()’ in package ‘methods’ now works for reference classes
and gives a suitably specialized skeleton of documentation.
</P>
<P>
Also, ‘callSuper()’ now works via the ‘methods()’ invocation as well as
for initially specified methods.
</P></LI>

<LI><P>
‘download.file()’ could leave the destination file open if the URL was
not able to be opened.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14414">PR#14414</a>)
</P></LI>

<LI><P>
Assignment of an environment to functions or as an attribute to other
objects now works for S4 subclasses of ‘&quot;environment&quot;’.
</P></LI>

<LI><P>
Use of ‘`[[&lt;-`’ for S4 subclasses of ‘&quot;environment&quot;’ generated an
infinite recursion from the method.  The method has been replaced by
internal code.
</P></LI>

<LI><P>
In a reference class S4 method, ‘callSuper()’ now works in
‘initialize()’ methods when there is no explicit superclass method.
</P></LI>

<LI><P>
‘!’ dropped attributes such as names and dimensions from a length-zero
argument.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14424">PR#14424</a>)
</P></LI>

<LI><P>
When ‘list2env()’ created an environment it was missing a ‘PROTECT’
call and so was vulnerable to garbage collection.
</P></LI>

<LI><P>
‘Sweave()’ with ‘keep.source=TRUE’ dropped comments at the start and
end of code chunks.  It could also fail when ‘\SweaveInput’ was
combined with named chunks.
</P></LI>

<LI><P>
The Fortran code used by ‘nls(algorithm = &quot;port&quot;)’ could infinite-loop
when compiled with high optimization on a modern version of ‘gcc’, and
‘SAFE_FFLAGS’ is now used to make this less likely.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14427">PR#14427</a>, seen
with 32-bit Windows using ‘gcc 4.5.0’ used from R 2.12.0.)
</P></LI>

<LI><P>
‘sapply()’ with default ‘simplify = TRUE’ and ‘mapply()’ with default
‘SIMPLIFY = TRUE’ wrongly simplified language-like results, as, e.g.,
in ‘mapply(1:2, c(3,7), FUN = function(i,j) call(':',i,j))’.
</P></LI>

<LI><P>
Backreferences to undefined patterns in ‘[g]sub(pcre = TRUE)’ could
cause a segfault.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14431">PR#14431</a>)
</P></LI>

<LI><P>
The ‘format()’ (and hence the ‘print()’) method for class ‘&quot;Date&quot;’
rounded fractional dates towards zero: it now always rounds them down.
</P></LI>

<LI><P>
Reference S4 class creation could generate ambiguous inheritance
patterns under very special circumstances.
</P></LI>

<LI><P>
‘`[[&lt;-`’ turned S4 subclasses of ‘&quot;environment&quot;’ into plain
environments.
</P></LI>

<LI><P>
Long titles for help pages were truncated in package indices and a few
other places.
</P></LI>

<LI><P>
Additional utilities now work correctly with S4 subclasses of
‘&quot;environment&quot;’ (‘rm’, locking tools and active bindings).
</P></LI>

<LI><P>
‘spec.ar()’ now also work for the ‘&quot;ols&quot;’ method.  (Reported by
Hans-Ruedi Kuensch.)
</P></LI>

<LI><P>
The initialization of objects from S4 subclasses of ‘&quot;environment&quot;’ now
allocates a new environment object.
</P></LI>

<LI><P>
‘R CMD check’ has more protection against (probably erroneous) example
or test output which is invalid in the current locale.
</P></LI>

<LI><P>
‘qr.X()’ with column names and pivoting now also pivots the column
names.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14438">PR#14438</a>)
</P></LI>

<LI><P>
‘unit.pmax()’ and ‘unit.pmin()’ in package ‘grid’ gave incorrect
results when all inputs were of length 1.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14443">PR#14443</a>)
</P></LI>

<LI><P>
The parser for ‘NAMESPACE’ files ignored misspelled directives, rather
than signalling an error.  For 2.12.x a warning will be issued, but
this will be correctly reported as an error in later releases.
(Reported by Charles Berry.)
</P></LI>

<LI><P>
Fix for subsetting of ‘&quot;raster&quot;’ objects when only one of ‘i’ or ‘j’ is
specified.
</P></LI>

<LI><P>
‘grid.raster()’ in package ‘grid’ did not accept ‘&quot;nativeRaster&quot;’
objects (like ‘rasterImage()’ does).
</P></LI>

<LI><P>
Rendering raster images in PDF output was resetting the clipping
region.
</P></LI>

<LI><P>
Rendering of raster images on Cairo X11 device was wrong, particularly
when a small image was being scaled up using interpolation.
</P>
<P>
With Cairo &lt; 1.6, will be better than before, though still a little
clunky.  With Cairo &gt;= 1.6, should be sweet as.
</P></LI>

<LI><P>
Several bugs fixed in ‘read.DIF()’: single column inputs caused errors,
cells marked as ‘&quot;character&quot;’ could be converted to other types, and
(in Windows) copying from the clipboard failed.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2010-12-08</title>
<pubDate>Tue, 07 Dec 2010 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/12/07#c2010-12-08</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/12/07#c2010-12-08</guid>
<description><![CDATA[<H4>2.12.0 patched NEW FEATURES (Windows)</H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘system()’ and ‘system2()’ with output redirected to a character vector
now give a warning if the command returns a non-zero error code.  (This
is what a Unix-alike does as from R 2.12.0.)
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘system()’ and ‘system2()’ no longer discard output from the command to
stdout and stderr as often as they used to, and more cases of
‘system2()’ are implemented.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘stdin’ is now flushed after echoing the input line.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
The internal implementation of ‘tar()’ (package ‘utils’) is now
supported on Windows.
</DEL>
</P></LI>

</UL>
<H4>2.12.0 patched INSTALLATION (Windows)</H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
The MSI installer is now made by an R script, and there is now support
for 64-bit builds.  (Unlike the Inno Setup installer, there are
separate MSI installers for 32- and 64-bit Windows.)
</P>
<P>
It is now built using ‘WiX 3.x’ rather than ‘WiX 2.0’.  (As a result it
is about 25% smaller.)
</DEL>
</P></LI>

</UL>
<H4>2.12.0 patched BUG FIXES (Windows)</H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
Some warning/error messages from ‘dyn.load()’ could be masked in ‘Rgui’
on Windows 7, as that OS can return messages containing carriage
returns and ‘Rgui’ does not support overwriting.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
Filenames could not be specified using backslashes in ‘Sweave()’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
In R 2.12.0, ‘system(intern = TRUE)’ captured ‘stderr’ on ‘Rterm’ when
it was documented to only do so on ‘Rgui’.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘Rgui’ in R 2.12.0 (only) did not always handle lines containing
carriage returns (‘\r’) correctly: sometimes random characters where
shown.
</P>
<P>
Since carriage returns have been supported in ‘Rgui’, the cursor
positioning after outputting a line containing a carriage return had
been unreliable.
</DEL>
</P></LI>

</UL>
<H4>2.12.1 NEW FEATURES (Windows)</H4>
<UL>
<LI><P>
‘system()’ and ‘system2()’ with output redirected to a character vector
now give a warning if the command returns a non-zero error code.  (This
is what a Unix-alike does as from R 2.12.0.)
</P></LI>

<LI><P>
‘system()’ and ‘system2()’ no longer discard output from the command to
stdout and stderr as often as they used to, and more cases of
‘system2()’ are implemented.
</P></LI>

<LI><P>
‘stdout’ is now flushed after echoing the input line.
</P></LI>

<LI><P>
The internal implementation of ‘tar()’ (package ‘utils’) is now
supported on Windows.
</P></LI>

</UL>
<H4>2.12.1 INSTALLATION (Windows)</H4>
<UL>
<LI><P>
The MSI installer is now made by an R script, and there is now support
for 64-bit builds.  (Unlike the Inno Setup installer, there are
separate MSI installers for 32- and 64-bit Windows.)
</P>
<P>
It is now built using ‘WiX 3.x’ rather than ‘WiX 2.0’.  (As a result it
is about 25% smaller.)
</P></LI>

</UL>
<H4>2.12.1 BUG FIXES (Windows)</H4>
<UL>
<LI><P>
Some warning/error messages from ‘dyn.load()’ could be masked in ‘Rgui’
on Windows 7, as that OS can return messages containing carriage
returns and ‘Rgui’ does not support overwriting.
</P></LI>

<LI><P>
Filenames could not be specified using backslashes in ‘Sweave()’.
</P></LI>

<LI><P>
In R 2.12.0, ‘system(intern = TRUE)’ captured ‘stderr’ on ‘Rterm’ when
it was documented to only do so on ‘Rgui’.
</P></LI>

<LI><P>
‘Rgui’ in R 2.12.0 (only) did not always handle lines containing
carriage returns (‘\r’) correctly: sometimes random characters where
shown.
</P>
<P>
Since carriage returns have been supported in ‘Rgui’, the cursor
positioning after outputting a line containing a carriage return had
been unreliable.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2010-12-07</title>
<pubDate>Mon, 06 Dec 2010 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/12/06#c2010-12-07</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/12/06#c2010-12-07</guid>
<description><![CDATA[<H4>2.12.0 patched NEW FEATURES (Windows)</H4>
<UL>
<LI><P>
The internal implementation of ‘tar()’ (package ‘utils’) is now
supported on Windows.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2010-12-06</title>
<pubDate>Sun, 05 Dec 2010 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/12/05#n2010-12-06</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/12/05#n2010-12-06</guid>
<description><![CDATA[<H4>2.12.0 patched BUG FIXES </H4>
<UL>
<LI><P>
Several bugs fixed in ‘read.DIF()’: single column inputs caused errors,
cells marked as ‘&quot;character&quot;’ could be converted to other types, and
(in Windows) copying from the clipboard failed.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2010-12-02</title>
<pubDate>Wed, 01 Dec 2010 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/12/01#n2010-12-02</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/12/01#n2010-12-02</guid>
<description><![CDATA[<H4>2.12.0 patched NEW FEATURES </H4>
<UL>
<LI><P>
‘StructTS(type = &quot;BSM&quot;)’ now allows series with just two seasons.
(Reported by Birgit Erni.)
</P></LI>

</UL>
<H4>2.12.0 patched BUG FIXES </H4>
<UL>
<LI><P>
Fix for subsetting of ‘&quot;raster&quot;’ objects when only one of ‘i’ or ‘j’ is
specified.
</P></LI>

<LI><P>
‘grid.raster()’ in package ‘grid’ did not accept ‘&quot;nativeRaster&quot;’
objects (like ‘rasterImage()’ does).
</P></LI>

<LI><P>
Rendering raster images in PDF output was resetting the clipping
region.
</P></LI>

<LI><P>
Rendering of raster images on Cairo X11 device was wrong, particularly
when a small image was being scaled up using interpolation.
</P>
<P>
With Cairo &lt; 1.6, will be better than before, though still a little
clunky.  With Cairo &gt;= 1.6, should be sweet as.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2010-11-30</title>
<pubDate>Mon, 29 Nov 2010 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/11/29#n2010-11-30</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/11/29#n2010-11-30</guid>
<description><![CDATA[<H4>2.12.0 patched NEW FEATURES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘reshape()’ now makes use of ‘sep’ when forming names during reshaping to wide format.  (PR#14435)</INS>
</P></LI>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘legend()’ allows the length of lines to be set by the end user _via_ the new argument ‘seg.len’.</INS>
</P></LI>
</UL>
<H4>2.12.0 patched BUG FIXES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘seq.int()’ no longer sometimes evaluates arguments twice.  (PR#14388)</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2010-11-29</title>
<pubDate>Sun, 28 Nov 2010 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/11/28#n2010-11-29</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/11/28#n2010-11-29</guid>
<description><![CDATA[<H4>2.12.0 patched NEW FEATURES </H4>
<UL>
<LI><P>
When a character value is used for the ‘EXPR’ argument in ‘switch()’, a
warning is given if more than one unnamed alternative value is given.
This will become an error in R 2.13.0.
</P></LI>

<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">New reference class utility methods ‘copy’, ‘field’, ‘getRefClass’ and ‘getClass’ have been added.</INS>
</P></LI>
</UL>
<H4>2.12.0 patched BUG FIXES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">The parser for ‘NAMESPACE’ files ignored misspelled directives, rather than signalling an error.  For 2.12.x a warning will be issued, but this will be correctly reported as an error in later releases. (Reported by Charles Berry.)</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2010-11-28</title>
<pubDate>Sat, 27 Nov 2010 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/11/27#n2010-11-28</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/11/27#n2010-11-28</guid>
<description><![CDATA[<H4>2.12.0 patched BUG FIXES </H4>
<UL>
<LI><P>
The parser for ‘NAMESPACE’ files ignored misspelled directives, rather
than signalling an error.  (Reported by Charles Berry.)
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2010-11-27</title>
<pubDate>Fri, 26 Nov 2010 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/11/26#n2010-11-27</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/11/26#n2010-11-27</guid>
<description><![CDATA[<H4>2.12.0 patched NEW FEATURES </H4>
<UL>
<LI><P>
New reference class utility methods ‘copy’, ‘getRefClass’ and
‘getClass’ have been added.
</P></LI>

<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘reshape’ now makes use of ‘sep’ when forming names during reahaping to wide format.  (PR#14435)</INS>
</P></LI>
</UL>
<H4>2.12.0 patched INSTALLATION </H4>
<UL>
<LI><P>
The PDF reference manual is now built as PDF version 1.5 with object
compression, which on platforms for which this is not the default
(notably MiKTeX) halves its size.
</P></LI>

<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">Variable ‘FCLIBS’ can be set during configuration, for any additional library flags needed when linking a shared object with the Fortran 9x compiler.  (Needed with Solaris Studio 12.2.)</INS>
</P></LI>
</UL>
<H4>2.12.0 patched BUG FIXES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘qr.X()’ with column names and pivoting now also pivots the column names.  (PR#14438)</INS>
</P></LI>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘unit.pmax()’ and ‘unit.pmin()’ in package ‘grid’ gave incorrect results when all inputs were of length 1.  (PR#14443)</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2010-11-26</title>
<pubDate>Thu, 25 Nov 2010 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/11/25#n2010-11-26</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/11/25#n2010-11-26</guid>
<description><![CDATA[<H4>2.12.0 patched BUG FIXES </H4>
<UL>
<LI><P>
The ‘unit.pmax’ and ‘unit.pmin’ in package ‘grid’ gave incorrect
results when all inputs were of length 1.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14443">PR#14443</a>)
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2010-11-26</title>
<pubDate>Thu, 25 Nov 2010 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/11/25#c2010-11-26</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/11/25#c2010-11-26</guid>
<description><![CDATA[<H4>2.12.0 patched BUG FIXES (Windows)</H4>
<UL>
<LI><P>
‘Rgui’ in R 2.12.0 (only) did not always handle lines containing
carriage returns (‘\r’) correctly: sometimes random characters where
shown.
</P>
<P>
Since carriage returns have been supported in ‘Rgui’, the cursor
positioning after outputting a line containing a carriage return had
been unreliable.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2010-11-25</title>
<pubDate>Wed, 24 Nov 2010 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/11/24#n2010-11-25</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/11/24#n2010-11-25</guid>
<description><![CDATA[<H4>2.12.0 patched NEW FEATURES </H4>
<UL>
<LI><P>
‘legend’ allows the length of lines to be set by the end user _via_ the
new argument ‘seg.len’.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2010-11-24</title>
<pubDate>Tue, 23 Nov 2010 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/11/23#n2010-11-24</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/11/23#n2010-11-24</guid>
<description><![CDATA[<H4>2.12.0 patched BUG FIXES </H4>
<UL>
<LI><P>
‘qr.X’ with column names and pivoting now also pivots the column names.
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14438">PR#14438</a>)
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2010-11-22</title>
<pubDate>Sun, 21 Nov 2010 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/11/21#n2010-11-22</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/11/21#n2010-11-22</guid>
<description><![CDATA[<H4>2.12.0 patched NEW FEATURES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">The DVI/PDF reference manual now includes the help pages for all the standard packages: ‘splines’, ‘stats4’ and ‘tcltk’ were previously omitted (intentionally).</INS>
</P></LI>
</UL>
<H4>2.12.0 patched BUG FIXES </H4>
<UL>
<LI><P>
‘R CMD check’ has more protection against (probably erroneous) example
or test output which is invalid in the current locale.
</P></LI>

<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘cmdscale(eig = TRUE)’ was documented to return n-1 eigenvalues but in fact only returned ‘k’.  It now returns all n eigenvalues.  </P>
<P>  ‘cmdscale(add = TRUE)’ failed to centre the return configuration and sometimes lost the labels on the points.  Its return value was described wrongly (it is always a list and contains component ‘ac’).</INS>
</P></LI>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">Backreferences to undefined patterns in ‘[g]sub(pcre = TRUE)’ could cause a segfault.  (PR#14431)</INS>
</P></LI>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">The initialization of objects from S4 subclasses of ‘"environment"’ now allocates a new environment object.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2010-11-21</title>
<pubDate>Sat, 20 Nov 2010 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/11/20#n2010-11-21</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/11/20#n2010-11-21</guid>
<description><![CDATA[<H4>2.12.0 patched BUG FIXES </H4>
<UL>
<LI><P>
The initialization of objects from subclasses of ‘&quot;environment&quot;’ now
allocates a new environment object.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2010-11-20</title>
<pubDate>Fri, 19 Nov 2010 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/11/19#n2010-11-20</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/11/19#n2010-11-20</guid>
<description><![CDATA[<H4>2.12.0 patched NEW FEATURES </H4>
<UL>
<LI><P>
‘reshape’ now makes use of ‘sep’ when forming names reahaping to wide
format.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14435">PR#14435</a>)
</P></LI>

</UL>
<H4>2.12.0 patched BUG FIXES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘reshape’ did not make use of ‘sep’ in all the cases it should have.
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14435">PR#14435</a>)
</DEL>
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2010-11-19</title>
<pubDate>Thu, 18 Nov 2010 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/11/18#n2010-11-19</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/11/18#n2010-11-19</guid>
<description><![CDATA[<H4>2.12.0 patched BUG FIXES </H4>
<UL>
<LI><P>
‘reshape’ did not make use of ‘sep’ in all the cases it should have.
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14435">PR#14435</a>)
</P></LI>

<LI><P>
‘spec.ar()’ now also work for the ‘&quot;ols&quot;’ method.  (Reported by
Hans-Ruedi Kuensch.)
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2010-11-17</title>
<pubDate>Tue, 16 Nov 2010 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/11/16#c2010-11-17</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/11/16#c2010-11-17</guid>
<description><![CDATA[<H4>2.12.0 patched BUG FIXES (Windows)</H4>
<UL>
<LI><P>
In R 2.12.0, ‘system(intern = TRUE)’ captured ‘stderr’ on ‘Rterm’ when
it was documented to only do so on ‘Rgui’.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2010-11-15</title>
<pubDate>Sun, 14 Nov 2010 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/11/14#c2010-11-15</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/11/14#c2010-11-15</guid>
<description><![CDATA[<H4>2.12.0 patched NEW FEATURES (Windows)</H4>
<UL>
<LI><P>
‘stdin’ is now flushed after echoing the input line.
</P></LI>

<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘system()’ and ‘system2()’ no longer discard output from the command to stdout and stderr as often as they used to, and more cases of ‘system2()’ are implemented.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2010-11-15</title>
<pubDate>Sun, 14 Nov 2010 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/11/14#n2010-11-15</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/11/14#n2010-11-15</guid>
<description><![CDATA[<H4>2.12.0 patched BUG FIXES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">Assignment of an environment to functions or as an attribute to other objects now works for S4 subclasses of ‘"environment"’.</INS>
</P></LI>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘!’ dropped attributes such as names and dimensions from a length-zero argument.  (PR#14424)</INS>
</P></LI>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">The Fortran code used by ‘nls(algorithm = "port")’ could infinite-loop when compiled with high optimization on a modern version of ‘gcc’, and ‘SAFE_FFLAGS’ is now used to make this less likely.  (PR#14427, seen with 32-bit Windows using ‘gcc 4.5.0’ used from R 2.12.0.)</INS>
</P></LI>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">Additional utilities now work correctly with S4 subclasses of ‘"environment"’ (‘rm’, locking tools and active bindings).</INS>
</P></LI>
</UL>
<H4>2.12.0 NEW FEATURES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">Reading a package's ‘CITATION’ file now defaults to ASCII rather than Latin-1: a package with a non-ASCII ‘CITATION’ file should declare an encoding in its ‘DESCRIPTION’ file and use that encoding for the ‘CITATION’ file.</INS>
</P></LI>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">There are several small changes to output which ‘zap’ small numbers, e.g. in printing quantiles of residuals in summaries from ‘"lm"’ and ‘"glm"’ fits, and in test statistics in ‘print.anova()’.</INS>
</P></LI>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘system(intern = TRUE)’ and ‘pipe()’ connections are guaranteed to be available on all builds of R.</INS>
</P></LI>
</UL>
<H4>2.10.1 patched BUG FIXES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">Changing both line texture and line cap (end) resulted in the latter to be omitted form the PDF code.  In addition, line cap (end) and join are now set explicitly in PDF output to ensure correct defaults.</INS>
</P></LI>
</UL>
<H4>2.10.0 NEW FEATURES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘available.packages()’ by default only returns information on the latest versions of packages whose version requirements are satisfied by the currently running R.</INS>
</P></LI>
</UL>
<H4>2.10.0 REGULAR EXPRESSIONS </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">A different regular expression engine is used for basic and extended regexps and is also for approximate matching.  This is based on the TRE library of Ville Laurikari, a modified copy of which is included in the R sources.  </P>
<P>  This is often faster, especially in a MBCS locale.  </P>
<P>  Some known differences are that it is less tolerant of invalid inputs in MBCS locales, and in its interpretation of undefined (extended) regexps such as ‘"^*"’.  Also, the interpretation of ranges such as ‘[W-z]’ in caseless matching is no longer to map the range to lower case.  </P>
<P>  This engine may in future be used in ‘literal’ mode for ‘fixed = TRUE’, and there is a compile-time option in ‘src/main/grep.c’ to do so.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2010-11-14</title>
<pubDate>Sat, 13 Nov 2010 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/11/13#n2010-11-14</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/11/13#n2010-11-14</guid>
<description><![CDATA[<H4>2.12.0 patched INSTALLATION </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">The PDF reference manual is now built as PDF version 1.5 with object compression, which on platforms for which this is not the default (notably MiKTeX) halves its size.  </P>
<P>  Variable ‘FCLIBS’ can be set during configuration, for any additional library flags needed when linking a shared object with the Fortran 9x compiler.  (Needed with Solaris Studio 12.2.)</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2010-11-12</title>
<pubDate>Thu, 11 Nov 2010 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/11/11#n2010-11-12</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/11/11#n2010-11-12</guid>
<description><![CDATA[<H4>2.12.0 patched BUG FIXES </H4>
<UL>
<LI><P>
‘sapply()’ with default ‘simplify = TRUE’ and ‘mapply()’ with default
‘SIMPLIFY = TRUE’ wrongly simplified language-like results, as, e.g.,
in ‘mapply(1:2, c(3,7), FUN = function(i,j) call(':',i,j))’.
</P></LI>

<LI><P>
Long titles for help pages were truncated in package indices and a few
other places.
</P></LI>

<LI><P>
Additional utilities now work correctly with subclasses of
‘&quot;environment&quot;’ (‘rm’, locking tools and active bindings).
</P></LI>

<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">Reference S4 class creation could generate ambiguous inheritance patterns under very special circumstances.</INS>
</P></LI>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘`[[&lt;-`’ turned S4 subclasses of ‘"environment"’ into plain environments.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2010-11-11</title>
<pubDate>Wed, 10 Nov 2010 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/11/10#n2010-11-11</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/11/10#n2010-11-11</guid>
<description><![CDATA[<H4>2.12.0 patched BUG FIXES </H4>
<UL>
<LI><P>
Reference class creation could generate ambiguous inheritance patterns
under very special circumstances.
</P></LI>

<LI><P>
`[[&lt;-` turned subclasses of &quot;environment&quot; into plain environments.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2010-11-10</title>
<pubDate>Tue, 09 Nov 2010 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/11/09#n2010-11-10</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/11/09#n2010-11-10</guid>
<description><![CDATA[<H4>2.12.0 patched BUG FIXES </H4>
<UL>
<LI><P>
The ‘format()’ (and hence the ‘print()’) method for class ‘&quot;Date&quot;’
rounded fractional dates towards zero: it now always rounds them down.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2010-11-09</title>
<pubDate>Mon, 08 Nov 2010 18:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/11/08#n2010-11-09</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/11/08#n2010-11-09</guid>
<description><![CDATA[<H4>2.12.0 patched NEW FEATURES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
The DVI/PDF reference manual now includes the help pages for all the
standard packages: ‘splines’, ‘stats4’ and ‘tcltk’ were previously
omitted.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
&lt;URL: http://www.rforge.net&gt; has been added to the default set of
repositories known to ‘setRepoositories()’.
</DEL>
</P></LI>

<LI><P>
The DVI/PDF reference manual now includes the help pages for all the
standard packages: ‘splines’, ‘stats4’ and ‘tcltk’ were previously
omitted.
</P></LI>

<LI><P>
&lt;URL: http://www.rforge.net&gt; has been added to the default set of
repositories known to ‘setRepoositories()’.
</P></LI>

<LI><P>
xz-utils has been updated to version 5.0.0.
</P></LI>

</UL>
<H4>2.12.0 patched INSTALLATION </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
The PDF reference manual is now built as PDF version 1.5 with object
compression, which on platforms for which this is not the default
(notably MiKTeX) halves its size.
</DEL>
</P></LI>

<LI><P>
The PDF reference manual is now built as PDF version 1.5 with object
compression, which on platforms for which this is not the default
(notably MiKTeX) halves its size.
</P></LI>

</UL>
<H4>2.12.0 patched BUG FIXES </H4>
<UL>
<LI><P>
Backreferences to undefined patterns in ‘[g]sub(pcre=TRUE)’ could cause
a segfault.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14431">PR#14431</a>)
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2010-11-06</title>
<pubDate>Fri, 05 Nov 2010 19:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/11/05#n2010-11-06</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/11/05#n2010-11-06</guid>
<description><![CDATA[<H4>2.12.0 patched BUG FIXES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘cmdscale(eig=TRUE)’ was documented to return n-1 eigenvalues but in fact only returned ‘k’.  It now returns all n eigenvalues.  </P>
<P>  ‘cmdscale(add=TRUE)’ failed to centre the return configuration and sometimes lost the labels on the points.  Its return value was described wrongly (it is always a list and contains component ‘ac’).</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2010-11-01</title>
<pubDate>Sun, 31 Oct 2010 19:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/31#n2010-11-01</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/31#n2010-11-01</guid>
<description><![CDATA[<H4>2.12.0 patched BUG FIXES </H4>
<UL>
<LI><P>
The Fortran code used by ‘nls(algorithm = &quot;port&quot;)’ could infinite-loop
when compiled with high optimization on a modern version of ‘gcc’, and
‘SAFE_FFLAGS’ is now used to make this less likely.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14427">PR#14427</a>)
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2010-10-31</title>
<pubDate>Sat, 30 Oct 2010 19:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/30#n2010-10-31</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/30#n2010-10-31</guid>
<description><![CDATA[<H4>2.12.0 patched BUG FIXES </H4>
<UL>
<LI><P>
‘Sweave()’ with ‘keep.source=TRUE’ dropped comments at the start and
end of code chunks.  It could also fail when ‘\SweaveInput’ was
combined with named chunks.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2010-10-31</title>
<pubDate>Sat, 30 Oct 2010 19:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/30#c2010-10-31</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/30#c2010-10-31</guid>
<description><![CDATA[<H4>2.12.0 patched INSTALLATION (Windows)</H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">The MSI installer is now made by an R script, and there is now support for 64-bit builds.  (Unlike the Inno Setup installer, there are separate MSI installers for 32- and 64-bit Windows.)  </P>
<P>  It is now built using ‘WiX 3.x’ rather than ‘WiX 2.0’.  (As a result it is about 25% smaller.)</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2010-10-30</title>
<pubDate>Fri, 29 Oct 2010 19:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/29#n2010-10-30</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/29#n2010-10-30</guid>
<description><![CDATA[<H4>2.12.0 patched BUG FIXES </H4>
<UL>
<LI><P>
When ‘list2env()’ created an environment it was missing a ‘PROTECT’
call and so was vulnerable to garbage collection.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2010-10-29</title>
<pubDate>Thu, 28 Oct 2010 19:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/28#n2010-10-29</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/28#n2010-10-29</guid>
<description><![CDATA[<H4>2.12.0 patched NEW FEATURES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">The DVI/PDF reference manual now includes the help pages for all the standard packages: ‘splines’, ‘stats4’ and ‘tcltk’ were previously omitted.</INS>
</P></LI>
</UL>
<H4>2.12.0 patched BUG FIXES </H4>
<UL>
<LI><P>
In a reference class S4 method, ‘callSuper()’ now works in
‘initialize()’ methods when there is no explicit superclass method.
</P></LI>

<LI><P>
‘!’ dropped attributes such as names and dimensions from a length-zero
arguemnt.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14424">PR#14424</a>)
</P></LI>

<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘promptClass()’ in package ‘methods’ now works for reference classes and gives a suitably specialized skeleton of documentation.  </P>
<P>  Also, ‘callSuper()’ now works via the ‘methods()’ invocation as well as for initially specified methods.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2010-10-28</title>
<pubDate>Wed, 27 Oct 2010 19:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/27#c2010-10-28</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/27#c2010-10-28</guid>
<description><![CDATA[<H4>2.12.0 patched NEW FEATURES (Windows)</H4>
<UL>
<LI><P>
‘system()’ and ‘system2()’ no longer discard output from the command to
stdout and stderr as often as they used to.
</P></LI>

</UL>
<H4>2.12.0 patched INSTALLATION (Windows)</H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">The MSI installer is now made by an R script, and there is now support for 64-bit builds.  </P>
<P>  It is now built using ‘WiX 3.0’ rather than ‘WiX 2.0’.  (As a result it is about 25% smaller.)</INS>
</P></LI>
</UL>
<H4>2.12.0 64-bit NEWS (Windows)</H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">The 32- and 64-bit distributions have been merged:  </P>
<P>  There is a combined installer (called ‘R-&lt;version&gt;-win.exe’).  When used under 32-bit Windows this works as before and installs 32-bit R. When used under 64-bit Windows there are options to install either or both of 32- and 64-bit R: the default is to install both.  </P>
<P>  The default package type is ‘"win.binary"’ on both 32- and 64-bit builds: a single repository contains binary packages for both architectures.  This is in place for CRAN, CRAN extras and BioC: ‘type = "win64.binary"’ can still be used for any repositories which follow the R 2.11.x convention.  With the default filters (see ‘?available.packages’) packages will only be offered if they are available for the current architecture.  </P>
<P>  The default personal library, e.g. ‘~/R/win-library/2.12’ is now the same for both 32- and 64-bit R.</INS>
</P></LI>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">The recommended 64-bit toolchain has been changed to one that does not add leading underscores.  See &lt;URL: http://www.murdoch-sutherland.com/Rtools/&gt; or &lt;URL: http://www.stats.ox.ac.uk/pub/Rtools/&gt;.  Any static or import libraries for external software used in installing packages will need to be re-compiled for this toolchain, but the use of DLLs is unaffected.</INS>
</P></LI>
</UL>
<H4>2.10.1 patched BUG FIXES (Windows)</H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘system()’ (and hence ‘shell()’) did not always set the standard file handles properly, so some programs would not run.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2010-10-27</title>
<pubDate>Tue, 26 Oct 2010 19:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/26#c2010-10-27</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/26#c2010-10-27</guid>
<description><![CDATA[<H4>2.12.0 patched INSTALLATION (Windows)</H4>
<UL>
<LI><P>
The MSI installer is now made by an R script, and there is now support
for 64-bit builds.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2010-10-26</title>
<pubDate>Mon, 25 Oct 2010 19:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/25#c2010-10-26</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/25#c2010-10-26</guid>
<description><![CDATA[<H4>2.12.0 patched BUG FIXES (Windows)</H4>
<UL>
<LI><P>
Some warning/error messages from ‘dyn.load()’ could be masked in ‘Rgui’
on Windows 7, as that OS can return messages containing carriage
returns and ‘Rgui’ does not support overwriting.
</P></LI>

<LI><P>
Filenames could not be specified using backslashes in ‘Sweave()’.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2010-10-23</title>
<pubDate>Fri, 22 Oct 2010 19:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/22#n2010-10-23</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/22#n2010-10-23</guid>
<description><![CDATA[<H4>2.12.0 patched BUG FIXES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘cmdscale(eig=TRUE)’ was documented to return n-1 eigenvalues but in fact only returned ‘k’.  It now returns all n eigenvalues.  </P>
<P>  ‘cmdscale(add=TRUE)’ failed to centre the return configuration and sometimes lost the labels on the points.</INS>
</P></LI>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘download.file()’ could leave the destination file open if the URL was not able to be opened.  (PR#14414)</INS>
</P></LI>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">Assignment of an environment to functions or as an attribute to other objects now works for S4 subclases of ‘"environment"’.</INS>
</P></LI>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">Use of ‘`[[&lt;-`’ for S4 subclasses of ‘"environment"’ generated an infinite recursion from the method.  The method has been replaced by internal code.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2010-10-22</title>
<pubDate>Thu, 21 Oct 2010 19:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/21#n2010-10-22</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/21#n2010-10-22</guid>
<description><![CDATA[<H4>2.12.0 patched BUG FIXES </H4>
<UL>
<LI><P>
Assignment of an environment to functions or as an attribute to other
objects now works for subclases of ‘&quot;environment&quot;’.
</P></LI>

<LI><P>
Use of ‘`[[&lt;-`’ for subclasses of ‘&quot;environment&quot;’ generated and
infinite recursion from the method.  The method has been replaced by
internal code.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2010-10-21</title>
<pubDate>Wed, 20 Oct 2010 19:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/20#n2010-10-21</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/20#n2010-10-21</guid>
<description><![CDATA[<H4>2.12.0 patched NEW FEATURES </H4>
<UL>
<LI><P>
&lt;URL: http://www.rforge.net&gt; has been added to the default set of
repositories known to ‘setRepoositories()’.
</P></LI>

</UL>
<H4>2.12.0 patched BUG FIXES </H4>
<UL>
<LI><P>
‘cmdscale(eig=TRUE)’ was documented to return n-1 eigenvalues but in
fact only returned ‘k’.  It now returns all n eigenvalues.
</P>
<P>
It failed to centre the return configuration and sometimes lost the
labels on the points if ‘add = TRUE’.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2010-10-20</title>
<pubDate>Tue, 19 Oct 2010 19:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/19#n2010-10-20</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/19#n2010-10-20</guid>
<description><![CDATA[<H4>2.12.0 patched BUG FIXES </H4>
<UL>
<LI><P>
‘download.file()’ could leave the destination file open if a http or
ftp URL was not able to be opened.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14414">PR#14414</a>)
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2010-10-18</title>
<pubDate>Sun, 17 Oct 2010 19:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/17#c2010-10-18</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/17#c2010-10-18</guid>
<description><![CDATA[<H4>2.12.0 patched NEW FEATURES (Windows)</H4>
<UL>
<LI><P>
‘system()’ and ‘system2()’ with output redirected to a character vector
now give a warning if the command returns a non-zero error code.  (This
is what a Unix-alike does as from R 2.12.0.)
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2010-10-18</title>
<pubDate>Sun, 17 Oct 2010 19:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/17#n2010-10-18</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/17#n2010-10-18</guid>
<description><![CDATA[<H4>2.12.0 patched BUG FIXES </H4>
<UL>
<LI><P>
‘promptClass()’ now works for reference classes and gives a suitably
specialized skeleton of documentation.
</P>
<P>
Also, ‘callSuper()’ now works via the ‘methods()’ invocation as well as
for initially specified methods.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2010-10-16</title>
<pubDate>Fri, 15 Oct 2010 19:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/15#n2010-10-16</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/15#n2010-10-16</guid>
<description><![CDATA[<H4>2.12.0 patched NEW FEATURES </H4>
<UL>
<LI><P>
The DVI/PDF reference manual now includes the help page for all the
standard packages: ‘splines’, ‘stats4’ and ‘tcltk’ were previously
omitted.
</P></LI>

</UL>
<H4>2.12.0 patched INSTALLATION </H4>
<UL>
<LI><P>
The PDF reference manual is now built as PDF version 1.5 with object
compression, which on platforms for which this is not the default
(notably MiKTeX) halves its size.
</P></LI>

</UL>
<H4>2.12.0 patched BUG FIXES </H4>
<UL>
<LI><P>
‘seq.int’ no longer sometimes evaluates arguments twice.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14388">PR#14388</a>)
</P></LI>

<LI><P>
The ‘data.frame’ method of ‘format’ failed if a column name was longer
than 256 bytes (the maximum length allowed for an R name).
</P></LI>

<LI><P>
‘predict(&lt;lm object&gt;, type =&quot;terms&quot;, ...)’ failed if both ‘terms’ and
‘interval’ were specified.  (Reported by Bill Dunlap.)
</P>
<P>
Also, if ‘se.fit = TRUE’ the standard errors were reported for all
terms, not just those selected by a non-null ‘terms’.
</P></LI>

<LI><P>
The TRE regular expressions engine could terminate R rather than give
an error when given certain invalid regular expressions.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14398">PR#14398</a>)
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2010-10-15</title>
<pubDate>Thu, 14 Oct 2010 19:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/14#n2010-10-15</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/14#n2010-10-15</guid>
<description><![CDATA[<H4>2.12.0 NEW FEATURES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">File ‘NEWS’ is now generated at installation with a slightly different format: it will be in UTF-8 on platforms using UTF-8, and otherwise in ASCII.  There is also a PDF version, ‘NEWS.pdf’, installed at the top-level of the R distribution.</INS>
</P></LI>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">A new facility has been added for inserting code into a package without re-installing it, to facilitate testing changes which can be selectively added and backed out.  See ‘?insertSource’.</INS>
</P></LI>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘system(command, intern = TRUE)’ now gives an error on a Unix-alike (as well as on Windows) if ‘command’ cannot be run.  It reports a non-success exit status from running ‘command’ as a warning.  </P>
<P>  On a Unix-alike an attempt is made to return the actual exit status of the command in ‘system(intern = FALSE)’: previously this had been system-dependent but on POSIX-compliant systems the value return was 256 times the status.</INS>
</P></LI>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">New ‘adjustcolor()’ utility, e.g., for simple translucent color schemes.</INS>
</P></LI>
</UL>
<H4>2.12.0 UTILITIES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘R CMD check’ has a new argument ‘--extra-arch’ to confine tests to those needed to check an additional sub-architecture.  </P>
<P>  Its check for “Subdirectory 'inst' contains no files” is more thorough: it looks for files, and warns if there are only empty directories.  </P>
<P>  Environment variables such as ‘R_LIBS’ and those used for customization can be set for the duration of checking _via_ a file ‘~/.R/check.Renviron’ (in the format used by ‘.Renviron’, and with sub-architecture specific versions such as ‘~/.R/check.Renviron.i386’ taking precedence).  </P>
<P>  There are new options ‘--multiarch’ to check the package under all of the installed sub-architectures and ‘--no-multiarch’ to confine checking to the sub-architecture under which ‘check’ is invoked.  If neither option is supplied, a test is done of installed sub-architectures and all those which can be run on the current OS are used.  </P>
<P>  Unless multiple sub-architectures are selected, the install done by ‘check’ for testing purposes is only of the current sub-architecture (_via_ ‘R CMD INSTALL --no-multiarch’).  </P>
<P>  It will skip the check for non-ascii characters in code or data if the environment variables ‘_R_CHECK_ASCII_CODE_’ or ‘_R_CHECK_ASCII_DATA_’ are respectively set to ‘FALSE’.  (Suggestion of Vince Carey.)</INS>
</P></LI>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘R CMD build’ no longer creates an ‘INDEX’ file (‘R CMD INSTALL’ does so), and ‘--force’ removes (rather than overwrites) an existing ‘INDEX’ file.  </P>
<P>  It supports a file ‘~/.R/build.Renviron’ analogously to ‘check’.  </P>
<P>  It now runs build-time ‘\Sexpr’ expressions in help files.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2010-10-10</title>
<pubDate>Sat, 09 Oct 2010 19:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/09#n2010-10-10</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/09#n2010-10-10</guid>
<description><![CDATA[<H4>2.12.0 UTILITIES </H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘R CMD Rprof|build|check’ are now based on R rather than Perl scripts. The only remaining Perl scripts are the deprecated ‘R CMD Sd2Rd’ and ‘install-info.pl’ (used only if ‘install-info’ is not found) as well as some maintainer-mode-only scripts.  </P>
<P>  *NB:* because these have been completely rewritten, users should not expect undocumented details of previous implementations to have been duplicated.  </P>
<P>  ‘R CMD’ no longer manipulates the environment variables ‘PERL5LIB’ and ‘PERLLIB’.</INS>
</P></LI>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘R CMD build’ no longer creates an ‘INDEX’ file (‘R CMD INSTALL’ does so), and ‘--force’ removes (rather than overwrites) an existing ‘INDEX’ file.  </P>
<P>  It supports file ‘~/.R/build.Renviron’ analogously to ‘check’.  </P>
<P>  It now runs build-time ‘\Sexpr’ expressions in help files.</INS>
</P></LI>
</UL>
<H4>2.12.0 BUG FIXES </H4>
<UL>
<LI><P>
The 256-byte limit on names is now documented.
</P></LI>

<LI><P>
Subassignment by ‘[’, ‘[[’ or ‘$’ on an expression object with value
‘NULL’ coerced the object to a list.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2010-10-09</title>
<pubDate>Fri, 08 Oct 2010 19:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/08#n2010-10-09</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/08#n2010-10-09</guid>
<description><![CDATA[<H4>2.12.0 BUG FIXES </H4>
<UL>
<LI><P>
‘model.frame’ had an unstated 500 byte limit on variable names.
(Example reported by Terry Therneau.)
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2010-10-08</title>
<pubDate>Thu, 07 Oct 2010 19:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/07#n2010-10-08</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/07#n2010-10-08</guid>
<description><![CDATA[<H4>2.12.0 BUG FIXES </H4>
<UL>
<LI><P>
Force Quartz to bring the on-screen display up-to-date immediately
before the snapshot is taken by ‘grid.cap()’ in the Cocoa
implementation. (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14260">PR#14260</a>)
</P></LI>

<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">Added workaround for the font problem with ‘X11(type = "cairo")’ and similar on Mac OS X whereby italic and bold styles were interchanged. (PR#13463 amongst many other reports.)</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2010-10-07</title>
<pubDate>Wed, 06 Oct 2010 19:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/06#n2010-10-07</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/06#n2010-10-07</guid>
<description><![CDATA[<H4>2.12.0 NEW FEATURES </H4>
<UL>
<LI><P>
Functions using the ‘TAR’ environment variable no longer quote the
value when making ‘system’ calls.  This allows values such as ‘tar
--force-local’, but does require additional quotes in, e.g., ‘TAR =
&quot;'/path with spaces/mytar'&quot;’.
</P></LI>

</UL>
<H4>2.12.0 INSTALLATION </H4>
<UL>
<LI><P>
R has always required a BLAS that conforms to IE60559 arithmetic, but
after discovery of more real-world problems caused by a BLAS that did
not, this is tested more thoroughly in this version.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2010-10-06</title>
<pubDate>Tue, 05 Oct 2010 19:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/05#n2010-10-06</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/05#n2010-10-06</guid>
<description><![CDATA[<H4>2.12.0 BUG FIXES </H4>
<UL>
<LI><P>
Fix for crash of ‘example(rasterImage)’ on ‘x11(type=&quot;Xlib&quot;)’.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2010-10-05</title>
<pubDate>Mon, 04 Oct 2010 19:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/04#n2010-10-05</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/04#n2010-10-05</guid>
<description><![CDATA[<H4>2.12.0 UTILITIES </H4>
<UL>
<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD build’ now runs build-time ‘\Sexpr’ expressions.
</DEL>
</P></LI>

<LI><P>
<DEL STYLE="background:#FFE6E6;">
‘R CMD check’ will skip the check for non-ascii characters in code or
data if the environment variables ‘_R_CHECK_ASCII_CODE_’ or
‘_R_CHECK_ASCII_DATA_’ are respectively set to ‘FALSE’. (Suggestion of
Vince Carey.)
</DEL>
</P></LI>

<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘R CMD check’ has a new argument ‘--extra-arch’ to confine tests to those needed to check an additional sub-architecture.  </P>
<P>  Its check for “Subdirectory 'inst' contains no files” is more thorough: it looks for files, and warns if there are only empty directories.  </P>
<P>  Environment variables such as ‘R_LIBS’ and those used for customization can be set for the duration of checking _via_ a file ‘~/.R/check.Renviron’ (in the format used by ‘.Renviron’, and with sub-architecture specific versions such as ‘~/.R/check.Renviron.i386’ taking precedence).  </P>
<P>  There are new options ‘--multiarch’ to check the package under all of the installed sub-architectures and ‘--no-multiarch’ to confine checking to the sub-architecture under which ‘check’ is invoked.  If neither option is supplied, a test is done of installed sub-architectures and those which can be run on the current OS are used.  </P>
<P>  Unless multiple sub-architectures are selected, the install done by ‘check’ for testing purposes is only of the current sub-architecture (_via_ ‘R CMD INSTALL --no-multiarch’.  </P>
<P>  It will skip the check for non-ascii characters in code or data if the environment variables ‘_R_CHECK_ASCII_CODE_’ or ‘_R_CHECK_ASCII_DATA_’ are respectively set to ‘FALSE’.  (Suggestion of Vince Carey.)</INS>
</P></LI>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘R CMD build’ no longer creates an ‘INDEX’ file (‘R CMD INSTALL’ does so), and ‘--force’ removes (rather than overwrites) an existing ‘INDEX’ file.  </P>
<P>  It supports file ‘~/.R/build.Renviron’ analogously to ‘check’.  </P>
<P>  It no longer cleans the supplied directory but rather a copy used to create the tarball.  </P>
<P>  It now runs build-time ‘\Sexpr’ expressions.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2010-10-04</title>
<pubDate>Sun, 03 Oct 2010 19:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/03#n2010-10-04</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/03#n2010-10-04</guid>
<description><![CDATA[<H4>2.12.0 INSTALLATION </H4>
<UL>
<LI><P>
System functions ‘access’, ‘chdir’ and ‘getcwd’ are now essential to
configure R.  (In practice they have been required for some time.)
</P></LI>

<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">The ‘popen’ system call is now required to build R.  This ensures the availability of ‘system(intern = TRUE)’, ‘pipe()’ connections and printing from ‘postscript()’.</INS>
</P></LI>
</UL>
<H4>2.12.0 BUG FIXES </H4>
<UL>
<LI><P>
‘source(chdir = TRUE)’ failed to reset the working directory if it
could not be determined - that is now an error.
</P></LI>

<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">Added workaround for the font problem with ‘X11(type = "cairo")’ and similar on Mac OS X whereby italic and bold styles were interchanged. (PR13463 amongst many other reports.)</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2010-10-03</title>
<pubDate>Sat, 02 Oct 2010 19:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/02#c2010-10-03</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/02#c2010-10-03</guid>
<description><![CDATA[<H4>2.12.0 NEW FEATURES (Windows)</H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘system(intern = FALSE)’ now returns ‘127’ (the same as Unix-alikes) rather than ‘-1’ if the command cannot be run, and (like Unix-alikes) no longer gives a warning.</INS>
</P></LI>
</UL>
<H4>2.12.0 BUG FIXES (Windows)</H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘R.exe’ when used in place of ‘Rterm.exe’ set the environment variables set by ‘R CMD’.  Conversely, ‘R CMD BATCH’ did not.</INS>
</P></LI>
</UL>
<H4>2.11.1 patched BUG FIXES (Windows)</H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">‘memory.limit()’ did not allow sizes greater than 4095 on 64 bit builds. (PR#14372)</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2010-10-03</title>
<pubDate>Sat, 02 Oct 2010 19:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/02#n2010-10-03</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/02#n2010-10-03</guid>
<description><![CDATA[<H4>2.12.0 BUG FIXES </H4>
<UL>
<LI><P>
‘X11(type = &quot;cairo&quot;)’ (and other devices such as ‘png’ using
cairographics) and which use Pango font selection now work around a bug
in Pango when very small fonts (those with sizes between 0 and 1 in
Pango's internal units) are requested.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14369">PR#14369</a>)
</P></LI>

<LI><P>
Workaround font problem with ‘X11(type = &quot;cairo&quot;)’ and similar on Mac
OS X whereby italic and bold styles were interchanged.  (PR13463
amongst many other reports.)
</P></LI>

<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">The self-starting model ‘NLSstClosestX’ failed if some deviation was exactly zero.  (PR#14384)</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2010-10-02</title>
<pubDate>Fri, 01 Oct 2010 19:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/01#c2010-10-02</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/01#c2010-10-02</guid>
<description><![CDATA[<H4>2.12.0 64-bit NEWS (Windows)</H4>
<UL>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">The 32- and 64-bit distributions have been merged:  </P>
<P>  There is a combined installer (called ‘R-&lt;version&gt;-win.exe’).  When used under 32-bit Windows this works as before and installs 32-bit R. When used under 64-bit Windows there are options to install either or both of 32- and 64-bit R: the default is to install both.  </P>
<P>  The default package type is ‘"win.binary"’ on both 32- and 64-bit builds: a single repository contains binary packages for both architectures.  This is in place for CRAN, CRANextras and BioC: ‘type = "win64.binary"’ can still be used for any repositories which follow the R 2.11.x convention.  With the default filters (see ‘?available.packages’) packages will only be offered if they are available for the current architecture.  </P>
<P>  The default personal library, e.g. ‘~/R/win-library/2.12’ is now the same for both 32- and 64-bit R.</INS>
</P></LI>
<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">The recommended 64-bit toolchain has been changed to one that does not add leading underscores. See &lt;URL: http://www.murdoch-sutherland.com/Rtools/&gt; or &lt;URL: http://www.stats.ox.ac.uk/pub/Rtools/&gt;.  Any static or import libraries for external software used in installing packages will need to be re-compiled for this toolchain, but the use of DLLs is unaffected.</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2010-10-02</title>
<pubDate>Fri, 01 Oct 2010 19:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/01#n2010-10-02</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/10/01#n2010-10-02</guid>
<description><![CDATA[<H4>2.12.0 BUG FIXES </H4>
<UL>
<LI><P>
‘model.frame(drop.unused.levels = TRUE)’ did not take into account ‘NA’
values of factors when deciding to drop levels. (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14393">PR#14393</a>)
</P></LI>

<LI><P>
‘library.dynam.unload’ required an absolute path for ‘libpath’.
(<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14385">PR#14385</a>)
</P>
<P>
Both ‘library()’ and ‘loadNamespace()’ now record absolute paths for
use by ‘searchpaths()’ and ‘getNamespaceInfo(ns, &quot;path&quot;)’.
</P></LI>

<LI><P>
The self-staring model ‘NLSstClosestX’ failed if some deviation was
exactly zero.  (<a href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14384">PR#14384</a>)
</P></LI>

<LI><P>
<INS STYLE="background:#E6FFE6;" TITLE="i=0">The calculation of whether text was completely outside the device region (in which case, you draw nothing) was wrong for screen devices (which have [0, 0] at top-left).  The symptom was (long) text disappearing when resizing a screen window (to make it smaller). (PR#14391)</INS>
</P></LI>
</UL>]]></description>  
</item>
   <item>
<title>2010-10-01</title>
<pubDate>Thu, 30 Sep 2010 19:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/09/30#n2010-10-01</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/09/30#n2010-10-01</guid>
<description><![CDATA[<H4>2.12.0 INSTALLATION </H4>
<UL>
<LI><P>
The ‘pkg-config’ file ‘libR.pc’ now also works when R is installed
using a sub-architecture.
</P></LI>

</UL>]]></description>  
</item>
   <item>
<title>2010-10-01</title>
<pubDate>Thu, 30 Sep 2010 19:00:00 GMT</pubDate>
<link>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/09/30#c2010-10-01</link>
<guid>https://developer.r-project.org/blosxom.cgi/R-2-12-branch/2010/09/30#c2010-10-01</guid>
<description><![CDATA[<H4>2.12.0 NEW FEATURES (Windows)</H4>
<UL>
<LI><P>
‘Rscript -e’ and similar use a temporary file, and now work harder to
ensure that filename is not the same as some other simultaneous R
process.
</P></LI>

</UL>]]></description>  
</item>
     </channel>
</rss>