powered by
These functions can help start/stop gepetto instances. You must remember to save the object returned by start_gepetto().
start_gepetto()
start_gepetto(host = "localhost", port = 8080)stop_gepetto(pxobj)
stop_gepetto(pxobj)
IP/host to use instead of localhost
localhost
port to use besides the default (8080)
8080
the processx object of a running gepetto instance generated by start_gepetto()
processx
start_gepetto() returns a processx object
Note that stop_gepetto() kills the process. You can/should consider using gep_stop() instead.
stop_gepetto()
gep_stop()
# NOT RUN { pid <- start_gepetto() # ... do stuff stop_gepetto(pid) # }
Run the code above in your browser using DataLab