Re: [R] how to exclude some packages from help.search() ?

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
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 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@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

______________________________________________
R-help@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
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 https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.