Learn R Programming

decapitated (version 0.3.0)

start_gepetto: Start/stop gepetto

Description

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

Usage

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()

Value

start_gepetto() returns a processx object

Details

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

Examples

Run this code
# NOT RUN {
pid <- start_gepetto()
# ... do stuff
stop_gepetto(pid)
# }

Run the code above in your browser using DataLab