I am using R on windows XP and I really tried to find the answers to below but I haven't been succesful. the two questions are : 1) is there way of seeing what packages you have loaded ( search() gives you the automatically included ones ). 2) is there a way of uninstalling packages that you have added by accident. i found the command R CMD REMOVE "package name" and tried it. first it said it didn't understand perl so installed perl. But, now it saying that it doesn't understand make ? I think make is specific to linux but maybe not ? Thanks a lot. [[alternative HTML version deleted]]
On Fri, 12 May 2006, MARK LEEDS wrote:> I am using R on windows XP and I really tried to find the answers to below but > I haven't been succesful. > > the two questions are : > > 1) is there way of seeing what packages you have loaded ( search() gives you > the automatically included ones ).No, search() shows you the packages which are currently attached, plus other objects that are attached (see its help page). I am not sure what you mean by `loaded'. Some packages have namespaces, and the namespace can be loaded without the package being attached. For a list of loaded namespaces use loadedNamespaces().> 2) is there a way of uninstalling packages that you have added by accident. > i found the command R CMD REMOVE "package name" and tried it. > > first it said it didn't understand perl so installed perl. But, now it > saying that it doesn't understand make ? I think > make is specific to linux but maybe not ?Not indeed. However, remove.packages() inside R will work for you, without Perl or the make tools.> > Thanks a lot. > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html >-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
Mark, 1) search() is ok for R on my Windows XP: it shows all the loaded packages. If you want to see all the intalled packages, try library(). 2) try detach(package:nameofpackage) to remove it from seach list. To uninstall it, simply delete its directory that you can see through searchpaths(). 3) nothing to do with Perl or make... HTH, Rogerio. ----- Original Message ----- From: "MARK LEEDS" <markleeds at verizon.net> To: <r-help at stat.math.ethz.ch> Sent: Friday, May 12, 2006 4:19 PM Subject: [R] two relatively simple questions>I am using R on windows XP and I really tried to find the answers to below >but > I haven't been succesful. > > the two questions are : > > 1) is there way of seeing what packages you have loaded ( search() gives > you > the automatically included ones ). > > 2) is there a way of uninstalling packages that you have added by > accident. > i found the command R CMD REMOVE "package name" and tried it. > > first it said it didn't understand perl so installed perl. But, now it > saying that it doesn't understand make ? I think > make is specific to linux but maybe not ? > > Thanks a lot. > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html >