otp_stop: Stop and OTP Instance

View source: R/otp-setup.R

otp_stopR Documentation

Stop and OTP Instance

Description

OTP is run in Java and requires Java commands to be typed into the command line. The function allows the parameters to be defined in R and automatically passed to Java. This function stops an already running OTP instance

Usage

otp_stop(warn = TRUE, kill_all = TRUE)

Arguments

warn

Logical, should you get a warning message

kill_all

Logical, should all Java instances be killed?

Details

The function assumes you have run otp_setup()

Value

This function return a message but no object

See Also

Other setup: otp_build_graph(), otp_check_java(), otp_check_version(), otp_dl_demo(), otp_dl_jar(), otp_make_config(), otp_setup(), otp_validate_config(), otp_write_config()

Examples

## Not run: 
otp_stop(kill_all = FALSE)

## End(Not run)

ropensci/opentripplanner documentation built on Aug. 5, 2024, 9:58 p.m.