help(name = "help", offline = F, call = F, pager = options()$pager, window = help.running(), display = getenv("DISPLAY"))
If S-PLUS is run under the SunTools or X window systems and window is TRUE, the help file will be displayed in its own window. If the help window system is not running (see help.start), then this window disappears when the paging command is finished. Make sure to stop the pager to leave the window. Killing the window can leave extra processes running.
You can create documentation on your own functions by creating a .Help subdirectory to a .Data and putting help files into the .Help directory. The prompt function can be used to get the outline of the help file for a function.
The offline argument is installation-dependent and must be set up appropriately by the administrator of S-PLUS on each system. Preformatted versions of the help documentation may be set up by the administrator in directories named .Cat.Help, parallel to the .Help directories.
help() # this help file help(stem) # documentation for function stem() help("+") # addition (and other arithmetic) help("state", offline = T) # print state data offline help(plot, window = T) amp;# documentation for plot, function placed in a window if possible help("AUDIT", display = "fay:0")) amp;# display the S-PLUS audit utility on a window on the console amp;# of the X11 server "fay"