knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
library(fitzRoy)
Building the Docker Image
To build the Docker image run the following from the root of the repository.
docker build -t jimmyday12/fitzroy:latest -f docker/rstudio/Dockerfile .
docker run -d -p 8787:8787 -e PASSWORD={YOUR PASSWORD} --name fitzroy jimmyday12/fitzroy:latest
and open http://localhost:8787
. *(Username: rstudio
, Password: {YOUR PASSWORD}
)docker run -it jimmyday12/fitzroy:latest R
to start with an R terminal prompt.quit()
to exit the containerAdd the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.