Description Usage Arguments Details Value Note See Also Examples
View source: R/docker-splash.r
If using this in an automation context, you should consider adding a 'Sys.sleep(3)' (or higher) after starting the docker container.
1 | start_splash(tag = "latest", container_name = "splashr", remove = FALSE, ...)
|
tag |
Splash Docker image tag to start |
container_name |
naem for the container. Defaults to "'splashr'". |
remove |
remove the Splash container instance after it's stopped? Defaults to 'FALSE'. |
... |
passed on to Splash instance launch parameters |
This uses the 'latest' image and passed the '–disable-browser-caches' parameter. If you do not want to use the 3.2.x+ versions of 'Splash' you should use your own startup scripts vs this helper function.
'stevedore' container object
you need Docker running on your system and have pulled the container with [install_splash] for this to work. You should save the resultant object for use in [stop_splash] otherwise you'll have to kill it from the command line interface.
Other splash_docker_helpers:
install_splash()
,
stop_splash()
1 2 3 4 5 6 | ## Not run:
install_splash()
splash_container <- start_splash()
stop_splash(splash_container)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.