[R] how to exclude some packages from help.search() ?
Prof Brian Ripley
ripley at stats.ox.ac.uk
Fri Apr 6 11:43:10 CEST 2007
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 help.search() 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, help.search now gives a warning, that it didn't find
> that file.
> Is there any other way to avoid extraneous information, returned by
> help.search, 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, 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