Arguments
dir
the root directory to serve
host
A string that is a valid IPv4 address that is owned by this
server, or "0.0.0.0"
to listen on all IP addresses.
port
the TCP port number; by default it is 4321
, unless a
command line argument of the form -pNNNN
(N is a digit from 0 to 9)
was passed in when R was launched, in which case NNNN
will be used
as the port number
browser
whether to launch the default web browser; by default, it is
TRUE
if the R session is interactive()
, or when a
command line argument -b
was passed to R (see
daemon
whether to launch a daemonized server (the server does not
block the current R session) or a blocking server; by default, it is
TRUE
if a command line argument -d
was passed to R (through
Rscript); normally it
interval
the time interval used to check if an HTML page needs to be
rebuilt (by default, it is checked every second); at the moment, the
smallest possible interval
is set to be 1, and this may change in
the future
baseurl
the base URL (the full URL will be
http://host:port/baseurl
)