View source: R/par_http_server.R
par_http_server | R Documentation |
Get or change http server options
par_http_server(client, ...) parHttp(client, ...)
client |
the name of one client. A client that does not identify
itself is named |
... |
named arguments specifying options to set or change. |
An environment that contains the whole configuration is returned invisibly.
Possible named arguments (with their default values) are: prompt = ":> "
for the server prompt, continue = ":+ "
for the continuation prompt when
multiline instructions are send, code = ""
for current partial code in
multiline mode, last = ""
for a string to add at the end of each
evaluation, echo = FALSE
to echo commands at the R console or terminal,
multiline = TRUE
to allow multiline mode, bare = TRUE
a bare mode that
inactivates all other options (the server is always started in bare mode).
start_http_server()
for a complete example.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.