[Rd] error message from help.search()

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Jun 2 12:05:14 CEST 2006


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



More information about the R-devel mailing list