httpd {R.httpd}R Documentation

Starts or stops the internal web browser

Description

Starts or stops the internal web browser.

Usage

## Default S3 method:
httpd(port=getOption("R.httpd/port"), start=TRUE, stop=FALSE, ...)

Arguments

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.

Value

Returns (invisibly) TRUE if the action was successful and performed, otherwise FALSE.

Author(s)

Henrik Bengtsson (http://www.braju.com/R/)

See Also

The HttpDaemon class.

Examples

if (interactive()) {
  httpd(port=8074)
  browseURL("http://127.0.0.1:8074/library/R.httpd/DESCRIPTION")
}

[Package R.httpd version 0.1.1 Index]