R 3.3.0 (codename “Supposedly Educational”) was released early last week and is now available from CRAN for Windows, (Mac) OS X and Linux systems. This release is a major annual update to R so we’ll need to reinstall all our packages on the new version. Luckily for Windows users like me (Hey!), Tal Galili’s installr package automates the process and is detailed below.
Upgrading to R 3.3.0 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) 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.
Changes in R 3.3.0
David Smith mentioned some of the main changes, writing:
- Support on all platforms for downloading data from secure HTTPS-enabled sites using
- A new function
sigmato calculate residual standard deviation for a variety of statistical models
- Speed improvements for a number of low-level R functions (which are in turn called my many higher-level functions, and likely your own R code). These include speedups for vector selection with boolean data, function argument matching, sorting vectors, and finding a single value in a vector with
- R now includes a new, high-performance radix sort algorithm. This algorithm was contributed by Matt Dowle, who used it to make the data.table package fast, and now it’s available to all R developers.
- R’s icons are now based on the new “flat” version of the R logo (thanks to an SVG version contributed by RStudio)
- Packages built using C++11 code are now supported on Windows
- Various bug fixes, including one that could sometimes cause R to crash when it runs out of resources.
For more information about this latest release, see this link:
Loving the new logo!