initServer: checks if server is running and if not starts it

Description Usage Arguments Value Examples

Description

This functions starts the http server that is necessary to the github.com/npellet/visualizer to work. If a server is already running (daemon_list is empty), then nothing happens.

Usage

1
initServer(server, force = FALSE)

Arguments

server

a server object

force

if true, will force a second server on a new port. Should not be necessary in regular use.

Value

void

Examples

1
2
3
#start new server object
s <- new("server")
#initServer(s)

jwist/visualizeR documentation built on Dec. 1, 2019, 5:11 p.m.