The R Project SVN R

Rev

Rev 70153 | Rev 80719 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 70153 Rev 71127
Line 330... Line 330...
330
for years in spite of the help page claiming it did not.
330
for years in spite of the help page claiming it did not.
331
</p>
331
</p>
332
</li>
332
</li>
333
<li> <p><code>qqline()</code> has new optional arguments
333
<li> <p><code>qqline()</code> has new optional arguments
334
<code>distribution</code>, <code>probs</code> and <code>qtype</code>, following the
334
<code>distribution</code>, <code>probs</code> and <code>qtype</code>, following the
335
example of <a href="http://CRAN.R-project.org/package=lattice"><span class="pkg">lattice</span></a>'s <code>panel.qqmathline()</code>.
335
example of <a href="https://CRAN.R-project.org/package=lattice"><span class="pkg">lattice</span></a>'s <code>panel.qqmathline()</code>.
336
</p>
336
</p>
337
</li>
337
</li>
338
<li><p> The handling of single quotes in the <code>en@quot</code>
338
<li><p> The handling of single quotes in the <code>en@quot</code>
339
pseudo-language has been slightly improved.  Double quotes are no
339
pseudo-language has been slightly improved.  Double quotes are no
340
longer converted.
340
longer converted.
Line 758... Line 758...
758
a vector of length &gt; <i>2^29</i> (but reported that the
758
a vector of length &gt; <i>2^29</i> (but reported that the
759
vector was too long for <i>2^30</i> or more).
759
vector was too long for <i>2^30</i> or more).
760
</p>
760
</p>
761
</li>
761
</li>
762
<li> <p><code>parallel::stopCluster()</code> now works with MPI
762
<li> <p><code>parallel::stopCluster()</code> now works with MPI
763
clusters without <a href="http://CRAN.R-project.org/package=snow"><span class="pkg">snow</span></a> being on the search path.
763
clusters without <a href="https://CRAN.R-project.org/package=snow"><span class="pkg">snow</span></a> being on the search path.
764
</p>
764
</p>
765
</li>
765
</li>
766
<li> <p><code>terms.formula()</code> could exhaust the stack, and the
766
<li> <p><code>terms.formula()</code> could exhaust the stack, and the
767
stack check did not always catch this before the segfault.
767
stack check did not always catch this before the segfault.
768
(<a href="https://bugs.R-project.org/bugzilla3/show_bug.cgi?id=15013">PR#15013</a>)
768
(<a href="https://bugs.R-project.org/bugzilla3/show_bug.cgi?id=15013">PR#15013</a>)
Line 895... Line 895...
895
</p>
895
</p>
896
</li>
896
</li>
897
<li> <p><code>splineDesign()</code> and <code>spline.des()</code> in package
897
<li> <p><code>splineDesign()</code> and <code>spline.des()</code> in package
898
<span class="pkg">splines</span> have a new option <code>sparse</code> which can be used
898
<span class="pkg">splines</span> have a new option <code>sparse</code> which can be used
899
for efficient construction of a sparse B-spline design matrix
899
for efficient construction of a sparse B-spline design matrix
900
(<em>via</em> <a href="http://CRAN.R-project.org/package=Matrix"><span class="pkg">Matrix</span></a>).
900
(<em>via</em> <a href="https://CRAN.R-project.org/package=Matrix"><span class="pkg">Matrix</span></a>).
901
</p>
901
</p>
902
</li>
902
</li>
903
<li> <p><code>norm()</code> now allows <code>type = "2"</code> (the
903
<li> <p><code>norm()</code> now allows <code>type = "2"</code> (the
904
&lsquo;spectral&rsquo; or 2-norm) as well, mainly for didactical
904
&lsquo;spectral&rsquo; or 2-norm) as well, mainly for didactical
905
completeness.
905
completeness.
Line 1030... Line 1030...
1030
 
1030
 
1031
<ul>
1031
<ul>
1032
<li> <p><code>R CMD INSTALL</code> with <span class="env">_R_CHECK_INSTALL_DEPENDS_</span>
1032
<li> <p><code>R CMD INSTALL</code> with <span class="env">_R_CHECK_INSTALL_DEPENDS_</span>
1033
set to a true value (as done by <code>R CMD check --as-cran</code>)
1033
set to a true value (as done by <code>R CMD check --as-cran</code>)
1034
now restricts the packages available when lazy-loading as well
1034
now restricts the packages available when lazy-loading as well
1035
as when test-loading (since packages such as <a href="http://CRAN.R-project.org/package=ETLUtils"><span class="pkg">ETLUtils</span></a>
1035
as when test-loading (since packages such as <a href="https://CRAN.R-project.org/package=ETLUtils"><span class="pkg">ETLUtils</span></a>
1036
and <a href="http://CRAN.R-project.org/package=agsemisc"><span class="pkg">agsemisc</span></a> had top-level calls to <code>library()</code>
1036
and <a href="https://CRAN.R-project.org/package=agsemisc"><span class="pkg">agsemisc</span></a> had top-level calls to <code>library()</code>
1037
for undeclared packages).
1037
for undeclared packages).
1038
</p>
1038
</p>
1039
<p>This check is now also available on Windows.
1039
<p>This check is now also available on Windows.
1040
</p>
1040
</p>
1041
</li></ul>
1041
</li></ul>
Line 1097... Line 1097...
1097
with duplicate column names now give warnings.  Cases where
1097
with duplicate column names now give warnings.  Cases where
1098
names specified in <code>by</code> match multiple columns are errors.
1098
names specified in <code>by</code> match multiple columns are errors.
1099
</p>
1099
</p>
1100
</li>
1100
</li>
1101
<li><p> Nonsense uses such as <code>seq(1:50, by = 5)</code> (from package
1101
<li><p> Nonsense uses such as <code>seq(1:50, by = 5)</code> (from package
1102
<a href="http://CRAN.R-project.org/package=plotrix"><span class="pkg">plotrix</span></a>) and <code>seq.int(1:50, by = 5)</code> are now errors.
1102
<a href="https://CRAN.R-project.org/package=plotrix"><span class="pkg">plotrix</span></a>) and <code>seq.int(1:50, by = 5)</code> are now errors.
1103
</p>
1103
</p>
1104
</li>
1104
</li>
1105
<li><p> The residuals in the 5-number summary printed by
1105
<li><p> The residuals in the 5-number summary printed by
1106
<code>summary()</code> on an <code>"lm"</code> object are now explicitly
1106
<code>summary()</code> on an <code>"lm"</code> object are now explicitly
1107
labelled as weighted residuals when non-constant weights are
1107
labelled as weighted residuals when non-constant weights are
Line 2117... Line 2117...
2117
<li><p> The <code>quartz()</code> device now does tilde expansion on its
2117
<li><p> The <code>quartz()</code> device now does tilde expansion on its
2118
<code>file</code> argument.
2118
<code>file</code> argument.
2119
</p>
2119
</p>
2120
</li>
2120
</li>
2121
<li> <p><code>tempfile()</code> on a Unix-alike now takes the process ID
2121
<li> <p><code>tempfile()</code> on a Unix-alike now takes the process ID
2122
into account.  This is needed with <a href="http://CRAN.R-project.org/package=multicore"><span class="pkg">multicore</span></a> (and as part of
2122
into account.  This is needed with <a href="https://CRAN.R-project.org/package=multicore"><span class="pkg">multicore</span></a> (and as part of
2123
<span class="pkg">parallel</span>) because the parent and all the children share a
2123
<span class="pkg">parallel</span>) because the parent and all the children share a
2124
session temporary directory, and they can share the C random
2124
session temporary directory, and they can share the C random
2125
number stream used to produce the unique part.  Further, two
2125
number stream used to produce the unique part.  Further, two
2126
children can call <code>tempfile()</code> simultaneously.
2126
children can call <code>tempfile()</code> simultaneously.
2127
</p>
2127
</p>
Line 2338... Line 2338...
2338
</p>
2338
</p>
2339
</li>
2339
</li>
2340
<li><p> There is a new package <span class="pkg">parallel</span>.
2340
<li><p> There is a new package <span class="pkg">parallel</span>.
2341
</p>
2341
</p>
2342
<p>It incorporates (slightly revised) copies of packages
2342
<p>It incorporates (slightly revised) copies of packages
2343
<a href="http://CRAN.R-project.org/package=multicore"><span class="pkg">multicore</span></a> and <a href="http://CRAN.R-project.org/package=snow"><span class="pkg">snow</span></a> (excluding MPI, PVM and NWS
2343
<a href="https://CRAN.R-project.org/package=multicore"><span class="pkg">multicore</span></a> and <a href="https://CRAN.R-project.org/package=snow"><span class="pkg">snow</span></a> (excluding MPI, PVM and NWS
2344
clusters).  Code written to use the higher-level API functions in
2344
clusters).  Code written to use the higher-level API functions in
2345
those packages should work unchanged (apart from changing any
2345
those packages should work unchanged (apart from changing any
2346
references to their namespaces to a reference to <span class="pkg">parallel</span>,
2346
references to their namespaces to a reference to <span class="pkg">parallel</span>,
2347
and links explicitly to <a href="http://CRAN.R-project.org/package=multicore"><span class="pkg">multicore</span></a> or <a href="http://CRAN.R-project.org/package=snow"><span class="pkg">snow</span></a> on help
2347
and links explicitly to <a href="https://CRAN.R-project.org/package=multicore"><span class="pkg">multicore</span></a> or <a href="https://CRAN.R-project.org/package=snow"><span class="pkg">snow</span></a> on help
2348
pages).
2348
pages).
2349
</p>
2349
</p>
2350
<p>It also contains support for multiple RNG streams following
2350
<p>It also contains support for multiple RNG streams following
2351
L'Ecuyer <em>et al</em> (2002), with support for both
2351
L'Ecuyer <em>et al</em> (2002), with support for both
2352
<code>mclapply</code> and <a href="http://CRAN.R-project.org/package=snow"><span class="pkg">snow</span></a> clusters.  This replaces functions
2352
<code>mclapply</code> and <a href="https://CRAN.R-project.org/package=snow"><span class="pkg">snow</span></a> clusters.  This replaces functions
2353
like <code>clusterSetupRNG()</code> from <a href="http://CRAN.R-project.org/package=snow"><span class="pkg">snow</span></a> (which are not in
2353
like <code>clusterSetupRNG()</code> from <a href="https://CRAN.R-project.org/package=snow"><span class="pkg">snow</span></a> (which are not in
2354
<span class="pkg">parallel</span>).
2354
<span class="pkg">parallel</span>).
2355
</p>
2355
</p>
2356
<p>The version released for <span style="font-family: Courier New, Courier; color: #666666;"><b>R</b></span> 2.14.0 contains base functionality:
2356
<p>The version released for <span style="font-family: Courier New, Courier; color: #666666;"><b>R</b></span> 2.14.0 contains base functionality:
2357
higher-level convenience functions are planned (and some are
2357
higher-level convenience functions are planned (and some are
2358
already available in the &lsquo;R-devel&rsquo; version of <span style="font-family: Courier New, Courier; color: #666666;"><b>R</b></span>).
2358
already available in the &lsquo;R-devel&rsquo; version of <span style="font-family: Courier New, Courier; color: #666666;"><b>R</b></span>).
Line 2713... Line 2713...
2713
<p>This also applies to HTML searches, which now give results in all
2713
<p>This also applies to HTML searches, which now give results in all
2714
of help pages, vignettes and demos.
2714
of help pages, vignettes and demos.
2715
</p>
2715
</p>
2716
</li>
2716
</li>
2717
<li> <p><code>socketConnection()</code> now has a <code>timeout</code> argument.
2717
<li> <p><code>socketConnection()</code> now has a <code>timeout</code> argument.
2718
It is now documented that large values (package <a href="http://CRAN.R-project.org/package=snow"><span class="pkg">snow</span></a> used a
2718
It is now documented that large values (package <a href="https://CRAN.R-project.org/package=snow"><span class="pkg">snow</span></a> used a
2719
year) do not work on some OSes.
2719
year) do not work on some OSes.
2720
</p>
2720
</p>
2721
</li>
2721
</li>
2722
<li><p> The initialization of the random-number generator now uses
2722
<li><p> The initialization of the random-number generator now uses
2723
the process ID as well as the current time, just in case two <span style="font-family: Courier New, Courier; color: #666666;"><b>R</b></span>
2723
the process ID as well as the current time, just in case two <span style="font-family: Courier New, Courier; color: #666666;"><b>R</b></span>
Line 3834... Line 3834...
3834
<h4>LICENCE</h4>
3834
<h4>LICENCE</h4>
3835
 
3835
 
3836
 
3836
 
3837
<ul>
3837
<ul>
3838
<li><p> No parts of <span style="font-family: Courier New, Courier; color: #666666;"><b>R</b></span> are now licensed solely under GPL-2.  The
3838
<li><p> No parts of <span style="font-family: Courier New, Courier; color: #666666;"><b>R</b></span> are now licensed solely under GPL-2.  The
3839
licences for packages <a href="http://CRAN.R-project.org/package=rpart"><span class="pkg">rpart</span></a> and <a href="http://CRAN.R-project.org/package=survival"><span class="pkg">survival</span></a> have been
3839
licences for packages <a href="https://CRAN.R-project.org/package=rpart"><span class="pkg">rpart</span></a> and <a href="https://CRAN.R-project.org/package=survival"><span class="pkg">survival</span></a> have been
3840
changed, which means that the licence terms for <span style="font-family: Courier New, Courier; color: #666666;"><b>R</b></span> as distributed
3840
changed, which means that the licence terms for <span style="font-family: Courier New, Courier; color: #666666;"><b>R</b></span> as distributed
3841
are GPL-2 | GPL-3.
3841
are GPL-2 | GPL-3.
3842
</p>
3842
</p>
3843
</li></ul>
3843
</li></ul>
3844
 
3844
 
Line 5152... Line 5152...
5152
 
5152
 
5153
 
5153
 
5154
<ul>
5154
<ul>
5155
<li><p> The <span class="samp">zlib</span> sources in the distribution are now built
5155
<li><p> The <span class="samp">zlib</span> sources in the distribution are now built
5156
with all symbols remapped: this is intended to avoid problems seen
5156
with all symbols remapped: this is intended to avoid problems seen
5157
with packages such as <a href="http://CRAN.R-project.org/package=XML"><span class="pkg">XML</span></a> and <a href="http://CRAN.R-project.org/package=rggobi"><span class="pkg">rggobi</span></a> which link to
5157
with packages such as <a href="https://CRAN.R-project.org/package=XML"><span class="pkg">XML</span></a> and <a href="https://CRAN.R-project.org/package=rggobi"><span class="pkg">rggobi</span></a> which link to
5158
&lsquo;<span class="file">zlib.so.1</span>&rsquo; on systems using <span class="samp">zlib 1.2.5</span>.
5158
&lsquo;<span class="file">zlib.so.1</span>&rsquo; on systems using <span class="samp">zlib 1.2.5</span>.
5159
</p>
5159
</p>
5160
</li>
5160
</li>
5161
<li><p> The default for <span class="env">FFLAGS</span> and <span class="env">FCFLAGS</span> with
5161
<li><p> The default for <span class="env">FFLAGS</span> and <span class="env">FCFLAGS</span> with
5162
<code>gfortran</code> on x86_64 Linux has been changed back to <span class="samp">-g
5162
<code>gfortran</code> on x86_64 Linux has been changed back to <span class="samp">-g
Line 5177... Line 5177...
5177
<span class="option">--data-compress</span> option of <code>R CMD INSTALL</code>.
5177
<span class="option">--data-compress</span> option of <code>R CMD INSTALL</code>.
5178
</p>
5178
</p>
5179
</li>
5179
</li>
5180
<li><p> Files &lsquo;<span class="file">R/sysdata.rda</span>&rsquo; of more than 1Mb are now stored
5180
<li><p> Files &lsquo;<span class="file">R/sysdata.rda</span>&rsquo; of more than 1Mb are now stored
5181
in the lazyload database using <code>xz</code> compression: this for
5181
in the lazyload database using <code>xz</code> compression: this for
5182
example halves the installed size of package <a href="http://CRAN.R-project.org/package=Imap"><span class="pkg">Imap</span></a>.
5182
example halves the installed size of package <a href="https://CRAN.R-project.org/package=Imap"><span class="pkg">Imap</span></a>.
5183
</p>
5183
</p>
5184
</li>
5184
</li>
5185
<li> <p><code>R CMD INSTALL</code> now ensures that directories
5185
<li> <p><code>R CMD INSTALL</code> now ensures that directories
5186
installed from &lsquo;<span class="file">inst</span>&rsquo; have search permission for everyone.
5186
installed from &lsquo;<span class="file">inst</span>&rsquo; have search permission for everyone.
5187
</p>
5187
</p>
Line 5341... Line 5341...
5341
<li><p> Updating S4 methods for a group generic function requires
5341
<li><p> Updating S4 methods for a group generic function requires
5342
resetting the methods tables for the members of the group (patch
5342
resetting the methods tables for the members of the group (patch
5343
contributed by Martin Morgan).
5343
contributed by Martin Morgan).
5344
</p>
5344
</p>
5345
</li>
5345
</li>
5346
<li><p> In some circumstances (including for package <a href="http://CRAN.R-project.org/package=XML"><span class="pkg">XML</span></a>),
5346
<li><p> In some circumstances (including for package <a href="https://CRAN.R-project.org/package=XML"><span class="pkg">XML</span></a>),
5347
<code>R CMD INSTALL</code> installed version-control directories from
5347
<code>R CMD INSTALL</code> installed version-control directories from
5348
source packages.
5348
source packages.
5349
</p>
5349
</p>
5350
</li>
5350
</li>
5351
<li><p> Added <code>PROTECT</code> calls to some constructed expressions
5351
<li><p> Added <code>PROTECT</code> calls to some constructed expressions
Line 5656... Line 5656...
5656
</li>
5656
</li>
5657
<li><p> The <code>print()</code> methods for <code>"glm"</code> and <code>"lm"</code>
5657
<li><p> The <code>print()</code> methods for <code>"glm"</code> and <code>"lm"</code>
5658
objects now insert linebreaks in long calls in the same way that
5658
objects now insert linebreaks in long calls in the same way that
5659
the <code>print()</code> methods for <code>"summary.[g]lm"</code> objects
5659
the <code>print()</code> methods for <code>"summary.[g]lm"</code> objects
5660
have long done.  This does change the layout of the examples for
5660
have long done.  This does change the layout of the examples for
5661
a number of packages, e.g. <a href="http://CRAN.R-project.org/package=MASS"><span class="pkg">MASS</span></a>.  (<a href="https://bugs.R-project.org/bugzilla3/show_bug.cgi?id=14250">PR#14250</a>)
5661
a number of packages, e.g. <a href="https://CRAN.R-project.org/package=MASS"><span class="pkg">MASS</span></a>.  (<a href="https://bugs.R-project.org/bugzilla3/show_bug.cgi?id=14250">PR#14250</a>)
5662
</p>
5662
</p>
5663
</li>
5663
</li>
5664
<li> <p><code>constrOptim()</code> can now be used with method
5664
<li> <p><code>constrOptim()</code> can now be used with method
5665
<code>"SANN"</code>.  (<a href="https://bugs.R-project.org/bugzilla3/show_bug.cgi?id=14245">PR#14245</a>)
5665
<code>"SANN"</code>.  (<a href="https://bugs.R-project.org/bugzilla3/show_bug.cgi?id=14245">PR#14245</a>)
5666
</p>
5666
</p>
Line 8302... Line 8302...
8302
have been added to the tools package to provide support for
8302
have been added to the tools package to provide support for
8303
<code>aspell()</code> or other spell checkers.
8303
<code>aspell()</code> or other spell checkers.
8304
</p>
8304
</p>
8305
</li>
8305
</li>
8306
<li> <p><code>xtabs()</code> with the new argument <code>sparse = TRUE</code>
8306
<li> <p><code>xtabs()</code> with the new argument <code>sparse = TRUE</code>
8307
now returns a sparse Matrix, using package <a href="http://CRAN.R-project.org/package=Matrix"><span class="pkg">Matrix</span></a>.
8307
now returns a sparse Matrix, using package <a href="https://CRAN.R-project.org/package=Matrix"><span class="pkg">Matrix</span></a>.
8308
</p>
8308
</p>
8309
</li>
8309
</li>
8310
<li> <p><code>contr.sum()</code> etc gain an argument <code>sparse</code>
8310
<li> <p><code>contr.sum()</code> etc gain an argument <code>sparse</code>
8311
which allows sparse matrices to be returned.
8311
which allows sparse matrices to be returned.
8312
</p>
8312
</p>
Line 8769... Line 8769...
8769
<span class="option">--data-compress=bzip2</span> which will give ca 15% better
8769
<span class="option">--data-compress=bzip2</span> which will give ca 15% better
8770
compression at the expense of slower installation times, and
8770
compression at the expense of slower installation times, and
8771
<span class="option">--data-compress=xz</span>, often giving even better compression
8771
<span class="option">--data-compress=xz</span>, often giving even better compression
8772
on large datasets at the expense of much longer installation
8772
on large datasets at the expense of much longer installation
8773
times.  (The latter is used for the recommended packages: it is
8773
times.  (The latter is used for the recommended packages: it is
8774
particularly effective for <a href="http://CRAN.R-project.org/package=survival"><span class="pkg">survival</span></a>.)
8774
particularly effective for <a href="https://CRAN.R-project.org/package=survival"><span class="pkg">survival</span></a>.)
8775
</p>
8775
</p>
8776
</li>
8776
</li>
8777
<li> <p><code>file()</code> for open = <code>""</code>, <code>"r"</code> or
8777
<li> <p><code>file()</code> for open = <code>""</code>, <code>"r"</code> or
8778
<code>"rt"</code> will automagically detect compressed files (from
8778
<code>"rt"</code> will automagically detect compressed files (from
8779
<code>gzip</code>, <code>bzip2</code> or <code>xz</code>).  This means
8779
<code>gzip</code>, <code>bzip2</code> or <code>xz</code>).  This means