![]() ![]() The package was built under version 3.2.3įrom R Studio, click on Tools and select Install Packages. There's a new package called installr that can update your R version within R on the Windows platform. Version 7.3-7 installed in /Library/Frameworks/R.framework/Versions/3.0/Resources/libraryįinally, to reassure yourself that you have done everything, type these two commands in the RStudio console to see what you have got: > version Now you can update your packages by typing update.packages() in your RStudio console, and answering 'y' to all of the prompts. ![]() If those paths don't work for you, try using installed.packages() don't overwrite your new 'base' package with your old one - if you did, don't worry, we'll fix it in the next step anyway. And only copy whatever packages aren't already in the destination directory. [where you'll replace "2.15" and "3.0" with whatever versions you're upgrading from and to. To here: /Library/Frameworks/R.framework/Versions/3.0/Resources/library Move the packages from the old R installation into the new version on Mac OSX, this means moving all folders from here: /Library/Frameworks/R.framework/Versions/2.15/Resources/library To ensure that your packages work with your shiny new version of R, you need to: Ok, I use a Mac, so I can only provide accurate details for the Mac - perhaps someone else can provide the accurate paths for windows/linux I believe the process will be the same. follow the installation procedure for your operating system.then choose the CRAN site that you like. ![]() It would be great if there was an update.R() function, analogous to the install.packages() function or the update.packages(function). has it right - you need to install the newer version of R, then restart RStudio and it will automagically use the new version, as noted. For completeness, the answer is: you can't do that from within RStudio. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |