powered by
Takes a config list produced by `otp_make_config()` and saves it as json file for OTP
otp_write_config(config, dir = NULL, router = "default")
A named list made/modified from `otp_make_config()`
Path to folder where data for OTP is to be stored
name of the router, default is "default", must be a subfolder of dir/graphs
Other setup: otp_build_graph(), otp_check_java(), otp_check_version(), otp_dl_demo(), otp_dl_jar(), otp_make_config(), otp_setup(), otp_stop(), otp_validate_config()
otp_build_graph()
otp_check_java()
otp_check_version()
otp_dl_demo()
otp_dl_jar()
otp_make_config()
otp_setup()
otp_stop()
otp_validate_config()
if (FALSE) { conf <- otp_make_config("build") otp_write_config(conf, dir = tempdir()) }
Run the code above in your browser using DataLab