browseURL {utils}R Documentation

Load URL into a WWW Browser

Description

Load a given URL into a WWW browser.

Usage

browseURL(url, browser = getOption("browser"))

Arguments

url a non-empty character string giving the URL to be loaded.
browser a non-empty character string giving the name of the program to be used as hypertext browser. It should be in the PATH, or a full path specified.
Under Windows NULL is also allowed (and is the default), and implies that the file association mechanism will be used.

Examples

## Not run: 
browseURL("http://www.r-project.org")
browseURL("file://c|/R/rw1060/doc/html/index.html",
          browser="C:/Program Files/Netscape/Netscape/netscp.exe")
## End(Not run)

[Package utils version 2.1.0 Index]