![]() UpdateR() # this will open dialog boxes to take you through the steps. If you are using the Rgui, you will see a new menu added on your top right (just by "help"), giving you the option to update R, or install new software.įor command line use you can update R by running: require(installr) # make sure you have Rtools installed first! if not, then run: #install.packages('installr') #install_Rtools()ĭevtools:: install_github( 'talgalili/installr') Usage To install the latest installr version from GitHub use: if (! require( 'devtools')) install.packages( 'devtools') require( 'devtools') To install the stable version on CRAN: install.packages( 'installr') All of these steps are automatically done using functions in this package. ![]() While for Linux users, the installation process of new software may be just running a short line of code, for the regular Windows user it often includes browsing online, finding the latest version, downloading it, running the installer, and deleting the installation file. ![]() To make it as easy as possible to install all of the needed software for R development (such as git, RTools, etc), as well as for reproducible research using R (such as MikTeX, pandoc, etc).To make updating R (on windows) as easy as running a function.The installr package offers a set of R functions for the installation and updating of software (currently, only on Windows OS), with a special focus on R itself.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |