Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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: