Learn R Programming

splashr (version 0.6.0)

start_splash: Start a Splash server Docker container

Description

If using this in an automation context, you should consider adding a `Sys.sleep(3)` (or higher) after starting the docker container.

Usage

start_splash(tag = "latest", container_name = "splashr",
  remove = FALSE, ...)

Arguments

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

Value

`stevedore` container object

Details

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.

See Also

Other splash_docker_helpers: install_splash, stop_splash

Examples

Run this code
# NOT RUN {
install_splash()
splash_container <- start_splash()
stop_splash(splash_container)
# }

Run the code above in your browser using DataLab