[R] two relatively simple questions

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri May 12 22:06:56 CEST 2006


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




More information about the R-help mailing list