Tweeted By @rabaath
Do you have a friend that doesn't have #rstats, but wants to run your code, and does have #docker?
— Rasmus Bååth (@rabaath) August 30, 2020
Here's a docker one-liner that runs my_script.R 😊
docker run --rm \
-v $(pwd):/tmp/working_dir \
-w /tmp/working_dir \
rocker/tidyverse:latest \
Rscript my_script.R pic.twitter.com/RTxsEpudyz