Updating R (on Windows) through a menu-bar: installr 0.9 released on CRAN
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
In preparation for the upcoming release of R 3.0.0, a new release 0.9 of installr is now on CRAN.
The package can be installed and loaded using:
# installing/loading the package: if(!require(installr)) { install.packages("installr"); require(installr)} #load / install+load installr |
The new version includes various bug fixes (as can be seen in the NEWS file) and new functions and features. The most user visible feature is that from now on, whenever loading installr in the Rgui, it will add a new menu-bar for updating your R version (the menu is removed when the package is detached).
When choosing to update R, a new GUI based system will guide you step by step through the updating process. It will first check if a newer version of R is available, if so, it will offer to show the latest NEWS of that release, download and install the new version, and copy/move your packages from the previous library folder, to the one in the new installation. If you have a global library folder, you can simply stop the updating once your new R is installed, and continue as you would otherwise (in the future, I intend to update the package to also allow it to deal with people using a global library folder).
(for using {installr} to update R through R terminal, see my previous post: Updating R from R (on Windows) – using the {installr} package)
Another new feature is the “installr()” function (which can also be run through the menubar), running it will open a window with a list of software you can download and install using the installr package (From Rtools and RStudio to pandoc and MikTeX).
I hope you’ll enjoy this new release, and as always – please let me know in the comments (or via e-mail) if you come across any bugs or have suggestions for new features.
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.