List Functions and Datasets Related to a Phrase

DESCRIPTION:
Presents functions and datasets with word in their name or title. The result is typically printed under the control of a pager.

USAGE:
topic(word, pager=options()$pager)

REQUIRED ARGUMENTS:
word:
a character string which you wish to look up.

OPTIONAL ARGUMENTS:
pager:
character string naming a UNIX program with which to page through the list. If omitted, the S-PLUS pager option is used. That option has a default value of less. See the helpfile for page for details.

SIDE EFFECTS:
a list of functions and datasets and their titles will be printed. If the help window is running, it acts as though you typed word into the "Topic:" box. If the help window is not running, it prints the same list at your terminal, using the paging program pager.

DETAILS:
topic only searches an index to help files, not the datasets themselves. If it finds a help file directory without such an index file, it will remind you to generate one, using the command !help.findsum directory.

This function is provided to give some of the functionality of the help window system when a window system is not available.


SEE ALSO:
help.start , help , options , page .

EXAMPLES:
   topic("nonlin")
nlmin   Find Local Minimum of a Nonlinear Function
smooth  Nonlinear Smoothing Using Running Medians