Dear R users How does one completely uninstall R from their machine? Going to control panel>programs does not do it for me. After installing the new version it will still remember my previous workspace and all packages I've installed. Thank you. [[alternative HTML version deleted]]
You need to uninstall packages directly (they are kept independently of R, which is actually quite helpful when updating so you don't have to get them all anew): this can be done within R by combining remove.packages() and installed.packages(). To delete the workspace you need to manually remove the .Rdata folder in your start-up working directory. Hope this helps Michael On Thu, Sep 22, 2011 at 8:47 AM, Andrey A <avakoa@gmail.com> wrote:> Dear R users > How does one completely uninstall R from their machine? Going to control > panel>programs does not do it for me. After installing the new version it > will still remember my previous workspace and all packages I've installed. > Thank you. > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >[[alternative HTML version deleted]]
On 22.09.2011 14:47, Andrey A wrote:> Dear R users > How does one completely uninstall R from their machine? Going to control > panel>programs does not do it for me. After installing the new version it > will still remember my previous workspace and all packages I've installed.This seems to be Windows? remove.packages() removes packages. You found the way to uninstall the part that got installed, The uninstaller won't install stuff you installed independently (such as packages, additional config files). The workspace is just a file called ".RData" in your working directory. Since it is user data, the user has to delete it himself. If you uninstall MS Word, it also won't remove all your .doc / .docx files - at least I hope so. Uwe Ligges> Thank you. > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.