[R] R Function Guide

Duncan Murdoch murdoch at stats.uwo.ca
Wed Jun 6 18:37:05 CEST 2001

On Wed, 6 Jun 2001 07:23:14 +0100 (BST), Prof Brian D Ripley
<ripley at stats.ox.ac.uk> wrote in message
<Pine.GSO.4.31.0106060712410.19713-100000 at auk.stats>:

> Thre have been lots of postings to
>R-help recently where help.search() would have given the answer, so it
>looks like an under-used tool.

What about making ?topic try help.search(topic) if help(topic) fails?

It's a very small modification to the help() source, basically just
replacing two "stop(some message)" calls with "cat(some message)", and
adding the help.search calls.  I'd probably add another parameter
"try.help.search" that defaults to FALSE when help() is called, and is
set to TRUE when ? is used.

Duncan Murdoch

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list