Rev 42766 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
% File src/library/utils/man/help.start.Rd% Part of the R package, http://www.R-project.org% Copyright 1995-2007 R Core Development Team% Distributed under GPL 2 or later\name{help.start}\title{Hypertext Documentation}\alias{help.start}\description{Start the hypertext (currently HTML) version of \R's onlinedocumentation.}\usage{#ifdef unixhelp.start(gui = "irrelevant", browser = getOption("browser"),remote = NULL)#endif#ifdef windowshelp.start(update = TRUE, gui = "irrelevant",browser = getOption("browser"))#endif}\arguments{\item{gui}{just for compatibility with S-PLUS.}\item{browser}{the name of the program to be used as hypertextbrowser. It should be in the \env{PATH}, or a full path specified.}#ifdef unix\item{remote}{A character giving a valid URL for the \file{\$R\_HOME}directory on a remote location.}#endif#ifdef windows\item{update}{logical: should this attempt to update the indices toreflect the currently installed packages.}#endif}\details{#ifdef unixAll the packages in the known library trees are linked to directory\file{.R} in the per-session temporary directory. The links arere-made each time \code{help.start} is run, which should be doneafter packages are installed, updated or removed.A side effect is to set \code{options(htmlhelp = TRUE)} so that futurehelp requests (by default) are sent to the browser.If the browser named by the \code{browser} argument is different fromthe default browser as specified by \code{options("browser")}, thedefault is changed to the given browser so that it gets used for allfuture help requests.#endif#ifdef windowsThe Windows file association mechanism is used to send the HTML fileto a browser, launching one if necessary.Unlike Unix systems, running \code{help.start} does not send allfuture help requests to the browser: use \code{options(htmlhelp=TRUE)}to set that.Alternatively, a specific browser can be started if \code{browser} isspecified, but \code{help} will still use the file association mechanism.\code{help.start} and the Java-based search engine have been testedunder Internet Explorer 6/7, Netscape 7.1, Opera 7.54,Mozilla 1.6/1.7 and Firefox 1.0/1.5/2.0. Users of IEwill probably need to allow \sQuote{active content} from the\sQuote{information bar} before the search engine can be used.#endif}\note{There is a Java-based search facility available from the HTML pagethat \code{help.start} brings up. Should this not work, pleaseconsult the \sQuote{R Installation and Administration} manual which islinked from that page.}\seealso{\code{\link{help}()} for on- and off-line help in ASCII/Editor orPostScript format.\code{\link{browseURL}} for how the help file is displayed.\code{\link{RSiteSearch}} to access an on-line search of \R resources.}\examples{\dontrun{help.start()#ifdef windowshelp.start(browser="C:\\\\Program Files\\\\Internet Explorer\\\\IEXPLORE.EXE")help.start(browser="C:/Program Files/Netscape/Netscape/netscp.exe")help.start(browser="C:/Program Files/Opera/Opera.exe")help.start(browser="C:/Program Files/mozilla.org/Mozilla/mozilla.exe")help.start(browser="C:/Program Files/Mozilla Firefox/firefox.exe")#endif}}\keyword{documentation}