This package provides an RStudio Addin that makes it easy to create a docker container in the terminal pane and then run R code from a source file in RStudio within that docker container. There are several inherint limitations to this model. Namely, RStudio isn't connected to the R session in Docker. Therefore, code completion in RStudio doesn't map to the R environment within Docker and plots rendered within the Docker container don't show up in RStudio. For a full fledged "R in Docker Experience" it's better to run RStudio Server from a Docker Container. However, this Addin provides the ability to quickly run R code against an arbitrary R backend within a specified Docker container.
dockerterm
runs a shiny gadget that allows the user to specify a Docker
container or image to run in the terminal window. The Docker container must
have R already installed as this is the command invoked when the image is run.
If the specified image is not found on the users machine, it will be downloaded
from Dockerhub and run.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.