otp_write_config | R Documentation |
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")
config |
A named list made/modified from 'otp_make_config()' |
dir |
Path to folder where data for OTP is to be stored |
router |
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()
## Not run:
conf <- otp_make_config("build")
otp_write_config(conf, dir = tempdir())
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.