{"id":16284425,"url":"https://github.com/nuest/renjin-docker","last_synced_at":"2025-04-09T00:05:13.266Z","repository":{"id":146971617,"uuid":"100264060","full_name":"nuest/renjin-docker","owner":"nuest","description":"Dockerfiles for automatic builds on Docker Hub for Renjin, an interpreter for R built on the Java Virtual Machine.","archived":false,"fork":false,"pushed_at":"2019-11-15T15:52:00.000Z","size":24,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-14T18:48:58.828Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nuest.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-14T12:15:35.000Z","updated_at":"2019-11-15T15:52:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"e609200f-25bc-498d-bf55-cd89b279f664","html_url":"https://github.com/nuest/renjin-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuest%2Frenjin-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuest%2Frenjin-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuest%2Frenjin-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuest%2Frenjin-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nuest","download_url":"https://codeload.github.com/nuest/renjin-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247947859,"owners_count":21023066,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T19:19:30.613Z","updated_at":"2025-04-09T00:05:13.237Z","avatar_url":"https://github.com/nuest.png","language":"Shell","readme":"# renjin-docker\n\n [![](https://images.microbadger.com/badges/image/nuest/renjin.svg)](https://microbadger.com/images/nuest/renjin \"Get your own image badge on microbadger.com\") [![Docker Automated build](https://img.shields.io/docker/automated/nuest/renjin.svg)]()\n\nDockerfiles for automatic builds on Docker Hub for **[Renjin](https://en.wikipedia.org/wiki/Renjin)** ([https://www.renjin.org/](https://www.renjin.org/)), an interpreter for [R](https://en.wikipedia.org/wiki/R_(programming_language)) built on the [Java Virtual Machine](https://en.wikipedia.org/wiki/Java_virtual_machine).\n\nImages on Docker Hub: [https://hub.docker.com/r/nuest/renjin](https://hub.docker.com/r/nuest/renjin)\n\n## Run Renjin in container\n\nBy default, the image is set up to [use Renjin interactively](http://docs.renjin.org/en/latest/interactive/index.html) and an R session is automatically started.\n\n```bash\ndocker run -it --rm nuest/renjin\n\u003e R.version\n\u003e q()\n```\n\nStopping the session also stops the container.\n\nYou can also start renjin manually and see how R packages are automatically loaded when using `library(..)` and installed into `~/.m2/repository/org/renjin/cran/`.\n\n```\n$ docker run -it nuest/renjin /bin/bash\n# renjin\n\n\u003e library(\"dplyr\")\n\u003e mtcars$amfactor \u003c- factor(mtcars$am, labels = c(\"automatic\", \"manual\"))\n\u003e summary(lm(mpg ~ factor(amfactor), data = mtcars))$coef\n\u003e quit()\n\n# ls /root/.m2/repository/org/renjin/cran/\n# exit\n```\n\n(Demo code based on based https://rpubs.com/davoodastaraky/mtRegression.)\n\n## Local build\n\nGo into the version directory, then:\n\n```bash\ndocker build --tag renjin .\ndocker run -it renjin\n```\n\n## Versions\n\nDifferent Renjin versions are supported as tags.\nThe most recent version is taken from the [Renjin Nexus](https://nexus.bedatadriven.com/#view-repositories;public~browsestorage~org/renjin/), see `org.renjin.renjin-debian-package`.\nYou can pull all tags to your local machine to get a list of available versions:\n\n\n```bash\ndocker pull -a nuest/renjin\ndocker images | grep nuest/renjin\n```\n\n## Building geospatial packages in a container\n\n```\nrenjin-docker/0.9.2726$ docker build --tag renjin:builder --file Dockerfile.builder .\n\nrenjin-docker/packages$ docker build --tag renjin:geospatial .\n```\n\n- `units`\n  - needs `libudunits2-dev`\n\n## Code of Conduct\n\nPlease note that this project is released with a [Contributor Code of Conduct](CODE_OF_CONDUCT.md) (file `CODE_OF_CONDUCT.md`).\nBy participating in this project you agree to abide by its terms.\n\n## License\n\nRenjin is available under the GPLv2 (or higher) license, see LICENSE for the full text of the license.\n\nCode files in this repository are published under GPLv2 (or higher) and are Copyright (C) 2017 Daniel Nüst.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuest%2Frenjin-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnuest%2Frenjin-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuest%2Frenjin-docker/lists"}