Commit 9606d43c authored by Dirk Eddelbuettel's avatar Dirk Eddelbuettel

Update upstream source from tag 'upstream/3.6.0'

Update to upstream version '3.6.0'
with Debian dir b26ee50a44c2ee54100d67c17a9b0d6742223f21
parents 996318b2 372e1d74
Revision: 76404
Last Changed Date: 2019-04-18
Revision: 76424
Last Changed Date: 2019-04-26
......@@ -22,11 +22,14 @@ CHANGES IN R 3.6.0:
distribution (used in sample(), for instance) has been changed.
This addresses the fact, pointed out by Ottoboni and Stark, that
the previous method made sample() noticeably non-uniform on large
populations. See PR#17494 for a discussion. The previous method
populations. See PR#17494 for a discussion. The previous method
can be requested using RNGkind() or RNGversion() if necessary for
reproduction of old results. Thanks to Duncan Murdoch for
contributing the patch and Gabe Becker for further assistance.
The output of RNGkind() has been changed to also return the
'kind' used by sample().
NEW FEATURES:
* Sys.setFileTime() has been vectorized so arguments path and time
......
......@@ -26,13 +26,16 @@
\item The default method for generating from a discrete uniform
distribution (used in \code{sample()}, for instance) has been
changed. This addresses the fact, pointed out by Ottoboni and
changed. This addresses the fact, pointed out by Ottoboni and
Stark, that the previous method made \code{sample()} noticeably
non-uniform on large populations. See \PR{17494} for a
discussion. The previous method can be requested using
discussion. The previous method can be requested using
\code{RNGkind()} or \code{RNGversion()} if necessary for
reproduction of old results. Thanks to Duncan Murdoch for
contributing the patch and Gabe Becker for further assistance.
The output of \code{RNGkind()} has been changed to also return the
\sQuote{kind} used by \code{sample()}.
}
}
......
No preview for this file type
......@@ -33,14 +33,17 @@ the original is already in format version 3).
</li>
<li><p> The default method for generating from a discrete uniform
distribution (used in <code>sample()</code>, for instance) has been
changed. This addresses the fact, pointed out by Ottoboni and
changed. This addresses the fact, pointed out by Ottoboni and
Stark, that the previous method made <code>sample()</code> noticeably
non-uniform on large populations. See <a href="https://bugs.R-project.org/bugzilla3/show_bug.cgi?id=17494">PR#17494</a> for a
discussion. The previous method can be requested using
discussion. The previous method can be requested using
<code>RNGkind()</code> or <code>RNGversion()</code> if necessary for
reproduction of old results. Thanks to Duncan Murdoch for
contributing the patch and Gabe Becker for further assistance.
</p>
<p>The output of <code>RNGkind()</code> has been changed to also return the
&lsquo;kind&rsquo; used by <code>sample()</code>.
</p>
</li></ul>
......
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- This manual is for R, version 3.6.0 RC (2019-04-18).
<!-- This manual is for R, version 3.6.0 (2019-04-26).
Copyright (C) 2001-2018 R Core Team
......@@ -332,7 +332,7 @@ p {
<p>This is a guide to installation and administration for R.
</p>
<p>This manual is for R, version 3.6.0 RC (2019-04-18).
<p>This manual is for R, version 3.6.0 (2019-04-26).
</p>
<p>Copyright &copy; 2001&ndash;2018 R Core Team
</p>
......@@ -1440,7 +1440,7 @@ conversion to short name equivalents (a.k.a. DOS 8.3 names), then R
<em>must</em> be installed in a path that does not contain spaces.
</p>
<p>Installation is <em>via</em> the installer
<samp>R-3.6.0rc-win.exe</samp>. Just double-click on the icon and
<samp>R-3.6.0-win.exe</samp>. Just double-click on the icon and
follow the instructions. When installing on a 64-bit version of Windows
the options will include 32- or 64-bit versions of R (and the default is
to install both). You can uninstall R from the Control Panel.
......@@ -1836,7 +1836,7 @@ source tree) in <samp>src/gnuwin32/installer</samp> run
installation (in double quotes if it contains spaces or backslashes).
</p>
<p>Both methods create an executable with a standard name such as
<samp>R-3.6.0rc-win.exe</samp>, so please rename it to indicate that
<samp>R-3.6.0-win.exe</samp>, so please rename it to indicate that
it is customized. If you intend to <em>distribute</em> a customized
installer please do check that license requirements are met &ndash; note that
the installer will state that the contents are distributed under GPL
......@@ -1895,21 +1895,21 @@ make msi
</pre></div>
<p>which will result in a file with a name like
<samp>R-3.6.0rc-win32.msi</samp>. This can be double-clicked to be
<samp>R-3.6.0-win32.msi</samp>. This can be double-clicked to be
installed, but those who need it will know what to do with it (usually
by running <code>msiexec /i</code> with additional options). Properties
that users might want to set from the <code>msiexec</code> command line
include &lsquo;<samp>ALLUSERS</samp>&rsquo;, &lsquo;<samp>INSTALLDIR</samp>&rsquo; (something like
<samp>c:\Program Files\R\R-3.6.0rc</samp>) and &lsquo;<samp>RMENU</samp>&rsquo; (the path
<samp>c:\Program Files\R\R-3.6.0</samp>) and &lsquo;<samp>RMENU</samp>&rsquo; (the path
to the &lsquo;<samp>R</samp>&rsquo; folder on the start menu) and &lsquo;<samp>STARTDIR</samp>&rsquo; (the
starting directory for R shortcuts, defaulting to something like
<samp>c:\Users\name\Documents\R</samp>).
</p>
<p>The MSI installer can be built both from a 32-bit build of R
(<samp>R-3.6.0rc-win32.msi</samp>) and from a 64-bit build of R
(<samp>R-3.6.0rc-win64.msi</samp>, optionally including 32-bit files
(<samp>R-3.6.0-win32.msi</samp>) and from a 64-bit build of R
(<samp>R-3.6.0-win64.msi</samp>, optionally including 32-bit files
by setting the macro <code>HOME32</code>, when the name is
<samp>R-3.6.0rc-win.msi</samp>). Unlike the main installer, a 64-bit
<samp>R-3.6.0-win.msi</samp>). Unlike the main installer, a 64-bit
MSI installer can only be run on 64-bit Windows.
</p>
<p>Thanks to David del Campo (Dept of Statistics, University of Oxford)
......@@ -5847,7 +5847,7 @@ install LaTeX packages on first use.
<a name="The-Inno-Setup-installer-1"></a>
<h3 class="section">D.2 The Inno Setup installer</h3>
<p>To make the installer package (<samp>R-3.6.0rc-win.exe</samp>) we
<p>To make the installer package (<samp>R-3.6.0-win.exe</samp>) we
currently require the Unicode version of Inno Setup 5.3.7 or later from
<a href="http://jrsoftware.org/">http://jrsoftware.org/</a>. This is <em>not</em> included in
<samp>Rtools*.exe</samp>.
......
/*
* R : A Computer Language for Statistical Data Analysis
* Copyright (C) 2003-2016 The R Core Team.
* Copyright (C) 2008 The R Foundation
* Copyright (C) 2003-2019 The R Core Team.
* Copyright (C) 2008-2019 The R Foundation
*
* This header file is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
......@@ -868,7 +868,7 @@ F77_NAME(dppsv)(const char* uplo, const int* n,
/* L*L**T to compute the solution to a real system of linear */
/* equations A * X = B, */
La_extern void
F77_NAME(dppsvx)(const int* fact, const char* uplo,
F77_NAME(dppsvx)(const char* fact, const char* uplo,
const int* n, const int* nrhs, double* ap,
double* afp, char* equed, double* s,
double* b, const int* ldb,
......
......@@ -221,7 +221,8 @@ set.seed(seed, kind = NULL, normal.kind = NULL, sample.kind = NULL)
normal and sample kinds selected \emph{before} the call, invisibly if
either argument is not \code{NULL}. A type starts a session as the
default, and is selected either by a call to \code{RNGkind} or by setting
\code{.Random.seed} in the workspace.
\code{.Random.seed} in the workspace. (NB: prior to \R 3.6.0 the first
two kinds were returned in a two-element character vector.)
\code{RNGversion} returns the same information as \code{RNGkind} about
the defaults in a specific \R version.
......
......@@ -1930,14 +1930,20 @@ function(x, dfile)
x[ind] <- iconv(x[ind], "latin1", "ASCII", sub = "byte")
}
}
## Avoid declared encodings when writing out.
Encoding(x) <- "unknown"
## <FIXME>
## ## Avoid declared encodings when writing out.
## Encoding(x) <- "unknown"
## This may also yield byte subs when formatting non-keep-white
## fields via strwrap() (PR#17550).
## Remove eventually ...
## </FIXME>
## Avoid folding for fields where we keep whitespace when reading,
## plus two where legacy code does not strip whitespace and so
## we should not wrap the field.
write.dcf(rbind(x), dfile,
keep.white = c(.keep_white_description_fields,
"Maintainer", "BugReports"))
"Maintainer", "BugReports"),
useBytes = TRUE)
}
### ** .read_repositories
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment