R 3.2.1 (codename “World-Famous Astronaut”) was released yesterday. You can get the latest binaries version from here. (or the .tar.gz source code from here). The full list of new features and bug fixes is provided below.
Upgrading to R 3.2.1 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
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.
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.2.1:
NEW FEATURES
utf8ToInt()
now checks that its input is valid UTF-8 and returnsNA
if it is not.install.packages()
now allowstype = "both"
withrepos = NULL
if it can infer the type of file.nchar(x, *)
andnzchar(x)
gain a new argumentkeepNA
which governs how the result forNA
s inx
is determined. For the R 3.2.x series, the default remainsFALSE
which is fully back compatible. From R 3.3.0, the default will change tokeepNA = NA
and you are advised to consider this for code portability.news()
more flexibly extracts dates from package ‘NEWS.Rd’ files.lengths(x)
now also works (trivially) for atomicx
and hence can be used more generally as an efficient replacement ofsapply(x, length)
and similar.- The included version of PCRE has been updated to 8.37, a bug-fix release.
diag()
no longer duplicates a matrix when extracting its diagonal.as.character.srcref()
gains an argument to allow characters corresponding to a range of source references to be extracted.