R 3.3.2 is released!
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
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:
install.packages("installr") # install setInternet2(TRUE) # only for R versions older than 3.3.0 installr::updateR() # updating R. |
Running “updateR()” will detect if there is a new R version available, and if so it will download+install it (etc.). There is also a step by step tutorial (with screenshots) on how to upgrade R on Windows, using the installr package. If you only see the option to upgrade to an older version of R, then change your mirror or try again in a few hours (it usually take around 24 hours for all CRAN mirrors to get the latest version of R).
I try to keep the installr package updated and useful, so if you have any suggestions or remarks on the package – you are invited to open an issue in the github page.
CHANGES IN R 3.3.2
NEW FEATURES
extSoftVersion()
now reports the version (if any) of thereadline
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(<AsIs>)
looks more regular, also for non-character atomic matrices.abbreviate()
gains an optionnamed = 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 toreadline
: code has been added using a explicit signal handler to work around that (when R is compiled against readline >= 6.3). (PR#16604) configure
works better with Oracle Developer Studio 12.5.
UTILITIES
R CMD check
reports more dubious flags in files ‘src/Makevars[.in]’, including -w and -g.R CMD check
has been set up to filter important warnings from recent versions ofgfortran
with -Wall -pedantic: this now reports non-portable GNU extensions such as out-of-order declarations.R CMD config
works better with paths containing spaces, even those of home directories (as reported by Ken Beath).
DEPRECATED AND DEFUNCT
- Use of the C/C++ macro NO_C_HEADERS is deprecated (no C headers are included by R headers from C++ as from R 3.3.0, so it should no longer be needed).
BUG FIXES
- The check for non-portable flags in
R CMD check
could be stymied by ‘src/Makevars’ files which contained targets. - (Windows only) When using certain desktop themes in Windows 7 or higher, Alt-Tab could cause
Rterm
to stop accepting input. (PR#14406; patch submitted by Jan Gleixner.) pretty(d, ..)
behaves better for date-timed
(PR#16923).- 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 thelabels
argument had length zero. (Reported by Bill Dunlap.)unique(warnings())
works more correctly, thanks to a newduplicated.warnings()
method.findInterval(x, vec = numeric(), all.inside = TRUE)
now returns0
s as documented. (Reported by Bill Dunlap.)- (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()
andpmin()
now work with (more ?) classed objects, such as"Matrix"
from the Matrix package, as documented for a long time.axis(side, x = D)
and henceAxis()
andplot()
now work correctly for"Date"
and time objectsD
, even when “time goes backward”, e.g., with decreasingxlim
. (Reported by William May.)str(I(matrix(..)))
now looks as always intended.plot.ts()
, theplot()
method for time series, now respectscex
,lwd
andlty
. (Reported by Greg Werbin.)parallel::mccollect()
now returns a named list (as documented) when called withwait = 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 argumentuse.names
is documented now, as belonging to the (C internal) default method. In “parallel”, argumentrecursive
is also moved from the generic to the default method, such that the formal argument list of base genericc()
is just(...)
.rbeta(4, NA)
and similarlyrgamma()
andrnbinom()
now returnNaN
‘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(<very_long>, *)
now works even when the split off parts are long. (PR#17139)min()
andmax()
now also work correctly when the argument list starts withcharacter(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 oflm
objects. (Reported by Jens Ledet Jensen).plot(<lm>, which = *)
now correctly labels the contour lines for the standardized residuals forwhich = 6
. It also takes the correct p in case of singularities (also forwhich = 5
). (PR#17161)xtabs(~ exclude)
no longer fails from wrong scope, thanks to Suharto Anggono’s PR#17147.- Reference class calls to
methods()
did not re-analyse previously defined methods, meaning that calls to methods defined later would fail. (Reported by Charles Tilford). findInterval(x, vec, left.open = TRUE)
misbehaved in some cases. (Reported by Dmitriy Chernykh.)
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.