Re: [R] help.search and indexing

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Mon, 7 Jan 2008 12:56:03 +0000 (GMT)

On Mon, 7 Jan 2008, Dong-hyun Oh wrote:

> Dear expeRt,
>
> I occasionally use help.search() function to find appropriate
> functions in R.
> Whenever committing help.search() after rerunning R, it takes so much
> time to find help (around 2 minutes).
> Is there any way to make it faster in help.search()?
> I think indexing help database is one of the solution, but i don't

It is already done for each package, at installation.

> know how to do.

What version of R? This is much faster in recent versions, including R-devel. The latter takes only 3 seconds on my system, with 1500 packages installed. It is likely the problem is reading the package indices on your system, especially if they are on a non-local or slow file system. Note that subsequent queries in the session make use of the already-built database (if relevant).

> Best,
> Dong-hyun Oh

-- 
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

______________________________________________
R-help_at_r-project.org 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 Mon 07 Jan 2008 - 12:59:22 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 07 Jan 2008 - 13:30:05 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.

list of date sections of archive