start_server: Start server for r2d3 files.

Description Usage Arguments Details Value Examples

Description

This isn't absolutely necessary, but if you run the html from a file:// you can't request other local files. This server also provides some convenience features like:

Usage

1
2
  start_server(base, appname = "r2d3",
    browse = interactive())

Arguments

base

A directory specifying the base path where files are looked for.

appname

The name of the application - this is only needed if you want to server multiple r2d3 servers out of different directories.

browse

if TRUE will open the server in the browser

Details

Value

(invisibly) the Rook server.

Examples

1
start_server(system.file("examples", package = "r2d3"))

hadley/r2d3 documentation built on May 17, 2019, 11:29 a.m.