Re: [R] how to exclude some packages from ?

From: Prof Brian Ripley <>
Date: Fri 06 Apr 2007 - 09:43:10 GMT

On Fri, 6 Apr 2007, Vladimir Eremeev wrote:

> I have installed RGTk2 to satisfy other package requirements.
> I am not planning to use it in my own work.
> Occasionally I search through the R help using the function,
> and every time it returns me lots of references to the functions in the
> RGtk2 package, which I don't need.
> I would like to avoid them.
> At present, I have renamed the file hsearch.rds in the RGtk2 directory.
> This worked, however, now gives a warning, that it didn't find
> that file.
> Is there any other way to avoid extraneous information, returned by
>, which is not such crude as mine?

Use the package= argument to say which packages you want, or even install little-used packages in a different library and use lib.loc= (or only have that library in .libPaths() when you need it).

Brian D. Ripley,        
Professor of Applied Statistics,
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Fri Apr 06 19:49:24 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 06 Apr 2007 - 11:30:58 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.