Other sites

R 3.3.2 is released!

R 3.3.2 (codename “Sincere Pumpkin Patch”) was released yesterday You can get the latest binaries version from here. (or the .tar.gz source code from here). The full list of bug fixes and new features is provided below.

Upgrading to R 3.3.2 on Windows

If you are using Windows you can easily upgrade to the latest version of R using the installr package. Simply run the following code in Rgui:

CHANGES IN R 3.3.2

NEW FEATURES

extSoftVersion() now reports the version (if any) of the readline library in use.

The version of LAPACK included in the sources has been updated to 3.6.1, a bug-fix release including a speedup for the non-symmetric case of eigen().

Use options(deparse.max.lines=) to limit the number of lines recorded in .Traceback and other deparsing activities.

format() looks more regular, also for non-character atomic matrices.

abbreviate() gains an option named = TRUE.

The online documentation for package methods is extensively rewritten. The goals are to simplify documentation for basic use, to note old features not recommended and to correct out-of-date information.

Calls to setMethod() no longer print a message when creating a generic function in those cases where that is natural: S3 generics and primitives.

INSTALLATION and INCLUDED SOFTWARE

Versions of the readline library >= 6.3 had been changed so that terminal window resizes were not signalled to readline: code has been added using a explicit signal handler to work around that (when R is compiled against readline >= 6.3). (PR#16604)

When an S4 class name matches multiple classes in the S4 cache, perform a dynamic search in order to obey namespace imports. This should eliminate annoying messages about multiple hits in the class cache. Also, pass along the package from the ClassExtends object when looking up superclasses in the cache.

sample(NA_real_) now works.

Packages using non-ASCII encodings in their code did not install data properly on systems using different encodings.

merge(df1, df2) now also works for data frames with column names "na.last", "decreasing", or "method". (PR#17119)

contour() caused a segfault if the labels argument had length zero. (Reported by Bill Dunlap.)

unique(warnings()) works more correctly, thanks to a new duplicated.warnings() method.

(Windows only) R CMD SHLIB failed when a symbol in the resulting library had the same name as a keyword in the ‘.def’ file. (PR#17130)

pmax() and pmin() now work with (more ?) classed objects, such as "Matrix" from the Matrix package, as documented for a long time.

axis(side, x = D) and hence Axis() and plot() now work correctly for "Date" and time objects D, even when “time goes backward”, e.g., with decreasing xlim. (Reported by William May.)

str(I(matrix(..))) now looks as always intended.

plot.ts(), the plot() method for time series, now respects cex, lwd and lty. (Reported by Greg Werbin.)

parallel::mccollect() now returns a named list (as documented) when called with wait = FALSE. (Reported by Michel Lang.)

If a package added a class to a class union in another package, loading the first package gave erroneous warnings about “undefined subclass”.

c()‘s argument use.names is documented now, as belonging to the (C internal) default method. In “parallel”, argument recursive is also moved from the generic to the default method, such that the formal argument list of base generic c() is just (...).

rbeta(4, NA) and similarly rgamma() and rnbinom() now return NaN‘s with a warning, as other r(), and as documented. (PR#17155)

Using options(checkPackageLicense = TRUE) no longer requires acceptance of the licence for non-default standard packages such as compiler. (Reported by Mikko Korpela.)

split(, *) now works even when the split off parts are long. (PR#17139)

min() and max() now also work correctly when the argument list starts with character(0). (PR#17160)

Subsetting very large matrices (prod(dim(.)) >= 2^31) now works thanks to Michael Schubmehl’s PR#17158.

bartlett.test() used residual sums of squares instead of variances, when the argument was a list of lm objects. (Reported by Jens Ledet Jensen).

plot(, which = *) now correctly labels the contour lines for the standardized residuals for which = 6. It also takes the correct p in case of singularities (also for which = 5). (PR#17161)