start_gepetto: Start/stop gepetto

Description Usage Arguments Details Value Examples

View source: R/gepetto-helpers.R

Description

These functions can help start/stop gepetto instances. You must remember to save the object returned by start_gepetto().

Usage

1
2
3
start_gepetto(host = "localhost", port = 8080)

stop_gepetto(pxobj)

Arguments

host

IP/host to use instead of localhost

port

port to use besides the default (8080)

pxobj

the processx object of a running gepetto instance generated by start_gepetto()

Details

Note that stop_gepetto() kills the process. You can/should consider using gep_stop() instead.

Value

start_gepetto() returns a processx object

Examples

1
2
3
4
5
6
## Not run: 
pid <- start_gepetto()
# ... do stuff
stop_gepetto(pid)

## End(Not run)

hrbrmstr/decapitated documentation built on Aug. 2, 2019, 8:42 p.m.