From ripley at stats.ox.ac.uk  Fri Jun  2 12:05:14 2006
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Fri, 2 Jun 2006 11:05:14 +0100 (BST)
Subject: [Rd] error message from help.search()
In-Reply-To: <p0600202bc0a5ab956d82@[192.168.1.10]>
References: <p0600202bc0a5ab956d82@[192.168.1.10]>
Message-ID: <Pine.LNX.4.64.0606021102420.22124@gannet.stats.ox.ac.uk>

On Fri, 2 Jun 2006, Jean lobry wrote:

> Dear R-Devel,
>
> consider:
>
> [rufus:~] lobry% R --vanilla --quiet
>>  sessionInfo()
> Version 2.3.0 (2006-04-24)
> powerpc-apple-darwin8.6.0
>
> attached base packages:
> [1] "methods"   "stats"     "graphics"  "grDevices" "utils"     "datasets"
> [7] "base"
>>  help.search(package = "graphics", keyword = "hplot")
>>  help.search(package = "stats", keyword = "hplot")
> Error in help.search(package = "stats", keyword = "hplot") :
>         could not find package 'stats'
>>  q()
>
>
> could it be possible in this situation to have an error message
> giving a clue to the 'rebuild' argument in help.search() ?

As I *have already said* that the message is different in R-devel:

> help.search(package = "stats", keyword = "hplot")
Error in help.search(package = "stats", keyword = "hplot") :
         no information in the data base for package 'stats': need 'rebuild = TRUE'?

!  And I have now ported that to R-patched.

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



[Rd] error message from help.search()
Prof Brian Ripley