Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joundso/r-script-docker
Run your R script within a docker container
https://github.com/joundso/r-script-docker
docker r
Last synced: about 2 months ago
JSON representation
Run your R script within a docker container
- Host: GitHub
- URL: https://github.com/joundso/r-script-docker
- Owner: joundso
- Created: 2021-06-01T10:59:58.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-11-05T05:03:51.000Z (2 months ago)
- Last Synced: 2024-11-05T06:17:50.504Z (2 months ago)
- Topics: docker, r
- Language: R
- Homepage:
- Size: 53.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Run your R script in a dockerized environment
- [Run your R script in a dockerized environment](#run-your-r-script-in-a-dockerized-environment)
- [How to start](#how-to-start)
- [Further information](#further-information)## How to start
1. Clone this repo by using:
```bash
git clone https://github.com/joundso/r-script-docker.git r-script-docker
cd r-script-docker
```2. Run the container (maybe you need to prefix `sudo`):
```bash
docker-compose up --build
```3. While the script has finished running, you should see a new plot named `plot.pdf` in [`./R/out/plot.pdf`](./R/out/plot.pdf).
4. Stop the environment by running `docker-compose down`.
## Further information
- Inspiration from this article:
- See also this gist: