| Line 21... |
Line 21... |
| 21 |
system. If \code{NA}, the server is started if not already running.}
|
21 |
system. If \code{NA}, the server is started if not already running.}
|
| 22 |
}
|
22 |
}
|
| 23 |
\details{
|
23 |
\details{
|
| 24 |
This function starts the internal HTTP server, which runs on the
|
24 |
This function starts the internal HTTP server, which runs on the
|
| 25 |
loopback interface (\code{127.0.0.1}). If \code{options("help.ports")}
|
25 |
loopback interface (\code{127.0.0.1}). If \code{options("help.ports")}
|
| 26 |
is set to a vector of integer values, \code{startDynamicHelp} will try
|
26 |
is set to a vector of non-zero integer values, \code{startDynamicHelp} will try
|
| 27 |
those ports in order; otherwise, it tries up to 10 random ports to
|
27 |
those ports in order; otherwise, it tries up to 10 random ports to
|
| 28 |
find one not in use. It can be disabled by setting the environment
|
28 |
find one not in use. It can be disabled by setting the environment
|
| 29 |
variable \env{R_DISABLE_HTTPD} to a non-empty value.
|
29 |
variable \env{R_DISABLE_HTTPD} to a non-empty value or \code{options("help.ports")}
|
| - |
|
30 |
to \code{0}.
|
| 30 |
|
31 |
|
| 31 |
\code{startDynamicHelp} is called by functions that need to use the
|
32 |
\code{startDynamicHelp} is called by functions that need to use the
|
| 32 |
server, so would rarely be called directly by a user.
|
33 |
server, so would rarely be called directly by a user.
|
| 33 |
|
34 |
|
| 34 |
Note that \code{options(help_type = "html")} must be set to actually
|
35 |
Note that \code{options(help_type = "html")} must be set to actually
|