| httpd {R.httpd} | R Documentation |
Starts or stops the internal web browser.
## Default S3 method:
httpd(port=getOption("R.httpd/port"), start=TRUE, stop=FALSE, ...)
port |
An optional integer for the port of the URL. |
start |
If TRUE, the internal R web server is started if not
already started, otherwise not. |
stop |
If TRUE, the internal R web server is stopped, if started. |
... |
Not used. |
Returns (invisibly) TRUE if the action was successful and performed,
otherwise FALSE.
Henrik Bengtsson (http://www.braju.com/R/)
The HttpDaemon class.
if (interactive()) {
httpd(port=8074)
browseURL("http://127.0.0.1:8074/library/R.httpd/DESCRIPTION")
}