NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/17284 CVS commit: pkgsrc/math/R



The following reply was made to PR kern/17284; it has been noted by GNATS.

From: "Mark Davies" <markd%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/17284 CVS commit: pkgsrc/math/R
Date: Sat, 21 Oct 2017 02:40:57 +0000

 Module Name:	pkgsrc
 Committed By:	markd
 Date:		Sat Oct 21 02:40:56 UTC 2017
 
 Modified Files:
 	pkgsrc/math/R: Makefile PLIST distinfo
 	pkgsrc/math/R/patches: patch-configure.ac
 
 Log Message:
 R: update to 3.4.2
 
 CHANGES IN R 3.4.2:
 
   NEW FEATURES:
 
     * Setting the LC_ALL category in Sys.setlocale() invalidates any
       cached locale-specific day/month names and the AM/PM indicator
       for strptime() (as setting LC_TIME has since R 3.1.0).
 
     * The version of LAPACK included in the sources has been updated to
       3.7.1, a bug-fix release.
 
     * The default for tools::write_PACKAGES(rds_compress=) has been
       changed to "xz" to match the compression used by CRAN.
 
     * c() and unlist() are now more efficient in constructing the
       names(.) of their return value, thanks to a proposal by Suharto
       Anggono.  (PR#17284)
 
 CHANGES IN R 3.4.0:
 
   SIGNIFICANT USER-VISIBLE CHANGES:
 
     * (Unix-alike) The default methods for download.file() and url()
       now choose "libcurl" except for file:// URLs.  There will be
       small changes in the format and wording of messages, including in
       rare cases if an issue is a warning or an error.  For example,
       when HTTP re-direction occurs, some messages refer to the final
       URL rather than the specified one.
 
       Those who use proxies should check that their settings are
       compatible (see ?download.file: the most commonly used forms work
       for both "internal" and "libcurl").
 
     * table() has been amended to be more internally consistent and
       become back compatible to R <= 2.7.2 again.  Consequently,
       table(1:2, exclude = NULL) no longer contains a zero count for
       <NA>, but useNA = "always" continues to do so.
 
     * summary.default() no longer rounds, but its print method does
       resulting in less extraneous rounding, notably of numbers in the
       ten thousands.
 
     * factor(x, exclude = L) behaves more rationally when x or L are
       character vectors.  Further, exclude = <factor> now behaves as
       documented for long.
 
     * Arithmetic, logic (&, |) and comparison (aka 'relational', e.g.,
       <, ==) operations with arrays now behave consistently, notably
       for arrays of length zero.
 
       Arithmetic between length-1 arrays and longer non-arrays had
       silently dropped the array attributes and recycled.  This now
       gives a warning and will signal an error in the future, as it has
       always for logic and comparison operations in these cases (e.g.,
       compare matrix(1,1) + 2:3 and matrix(1,1) < 2:3).
 
     * The JIT ('Just In Time') byte-code compiler is now enabled by
       default at its level 3. This means functions will be compiled on
       first or second use and top-level loops will be compiled and then
       run.  (Thanks to Tomas Kalibera for extensive work to make this
       possible.)
      For now, the compiler will not compile code containing explicit
       calls to browser(): this is to support single stepping from the
       browser() call.
 
       JIT compilation can be disabled for the rest of the session using
       compiler::enableJIT(0) or by setting environment variable
       R_ENABLE_JIT to 0.
 
     * xtabs() works more consistently with NAs, also in its result no
       longer setting them to 0.  Further, a new logical option addNA
       allows to count NAs where appropriate.  Additionally, for the
       case sparse = TRUE, the result's dimnames are identical to the
       default case's.
 
     * Matrix products now consistently bypass BLAS when the inputs have
       NaN/Inf values. Performance of the check of inputs has been
       improved. Performance when BLAS is used is improved for
       matrix/vector and vector/matrix multiplication (DGEMV is now used
       instead of DGEMM).
 
       One can now choose from alternative matrix product
       implementations _via_ options(matprod = ).  The "internal"
       implementation is not optimized for speed but consistent in
       precision with other summations in R (using long double
       accumulators where available).  "blas" calls BLAS directly for
       best speed, but usually with undefined behavior for inputs with
       NaN/Inf.
 
   NEW FEATURES:
 
     * User errors such as integrate(f, 0:1, 2) are now caught.
 
     * Add signature argument to debug(), debugonce(), undebug() and
       isdebugged() for more conveniently debugging S3 and S4 methods.
       (Based on a patch by Gabe Becker.)
 
     * Add utils::debugcall() and utils::undebugcall() for debugging the
       function that would be called by evaluating the given expression.
       When the call is to an S4 generic or standard S3 generic,
       debugcall() debugs the method that would be dispatched. A number
       of internal utilities were added to support this, most notably
       utils::isS3stdGeneric().  (Based on a patch by Gabe Becker.)
 
 And many more - see the NEWS file for details.
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.177 -r1.178 pkgsrc/math/R/Makefile
 cvs rdiff -u -r1.27 -r1.28 pkgsrc/math/R/PLIST
 cvs rdiff -u -r1.77 -r1.78 pkgsrc/math/R/distinfo
 cvs rdiff -u -r1.1 -r1.2 pkgsrc/math/R/patches/patch-configure.ac
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index