Skip to content

labordynamicsinstitute/docker-renv-2025

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A template for a combined docker-renv environment

  • Clone this/use as a template
  • Start working within R. Populate your renv environment. Don't forget to renv::snapshot()
  • Adjust the Dockerfile. The default includes Stata, you may not need it.
  • Adjust the (hidden) .myconfig.sh in particular the name and where you want to store the Docker image.
  • Build the docker image with build-r.sh: cd build; bash ./build-r.sh. It will use the renv.lock file to populate packages into the image. These will be available next time you run the image.
  • Launch Rstudio as a web app by running bash ./start_rstudio.sh.

System Requirements

  • Works with command line Docker on Linux. Not tested in any other environment.
  • The resulting Docker image should be usable in any environment.

About

Template for initialing a combined renv-docker environment

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published