{"id":13424666,"url":"https://github.com/nuest/fastr-docker","last_synced_at":"2025-04-09T00:04:43.066Z","repository":{"id":146971296,"uuid":"101051052","full_name":"nuest/fastr-docker","owner":"nuest","description":"FastR Dockerfile","archived":false,"fork":false,"pushed_at":"2019-09-03T22:14:28.000Z","size":24,"stargazers_count":4,"open_issues_count":2,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-14T18:48:57.427Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.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-22T10:25:56.000Z","updated_at":"2019-09-03T22:14:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"464d9d05-eb63-46b5-9d24-2240bcabc117","html_url":"https://github.com/nuest/fastr-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%2Ffastr-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuest%2Ffastr-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuest%2Ffastr-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuest%2Ffastr-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nuest","download_url":"https://codeload.github.com/nuest/fastr-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-07-31T00:00:57.542Z","updated_at":"2025-04-09T00:04:43.024Z","avatar_url":"https://github.com/nuest.png","language":"Dockerfile","readme":"# FastR Dockerfile\n\n\u003e [FastR](https://github.com/oracle/fastr) is an implementation of the R Language in Java atop [Truffle](https://github.com/oracle/graal/blob/master/truffle/README.md), a framework for building self-optimizing AST interpreters. FastR is be polyglot, efficient, and compatible. ([source](https://github.com/oracle/fastr/blob/master/README.md))\n\n![Docker Automated build](https://img.shields.io/docker/automated/nuest/fastr.svg) ![Docker Build Status](https://img.shields.io/docker/build/nuest/fastr.svg) [![](https://images.microbadger.com/badges/image/nuest/fastr.svg)](https://microbadger.com/images/nuest/fastr \"Get your own image badge on microbadger.com\") [![](https://images.microbadger.com/badges/version/nuest/fastr.svg)](https://microbadger.com/images/nuest/fastr \"Get your own version badge on microbadger.com\")\n\n## Build locally\n\n```bash\ndocker build --tag fastr .\n```\n\n## Use\n\n```bash\ndocker run --rm -it fastr\n\n# run specific command\ndocker run --rm -it fastr -e \"sessionInfo()\"\n```\n\nBy default, the Graal compiler is active.\nYou can disable it by defining your own entrypoint and command:\n\n```bash\ndocker run --rm -it --entrypoint mx fastr R\n```\n\nThe following shows a comparison of the feature - further tests welcome, see #3\n\n```bash\n# with Grall compiler (default)\ndocker run --rm -it fastr -q -e 'install.packages(\"microbenchmark\", quiet = TRUE); cat(\"Run benchmark...\\n\"); microbenchmark::microbenchmark(\"unique list\" = { for (i in 1:10000) unique(1:i) }, times = 25, unit = \"s\")'\n```\n\nOutput _with_ Graal compiler:\n\n```\n\u003e install.packages(\"microbenchmark\", quiet = TRUE); cat(\"Run benchmark...\\n\"); microbenchmark::microbenchmark(\"unique list\" = { for (i in 1:10000) unique(1:i) }, times = 25, unit = \"s\")\nUpdating HTML index of packages in '.Library'\nMaking 'packages.html' ... done\nRun benchmark...\nUnit: seconds\n        expr       min        lq     mean    median       uq      max neval\n unique list 0.7662038 0.7964194 1.057809 0.9022891 1.121864 3.433876    25\n```\n\n```bash\n# without\ndocker run --rm -it --entrypoint mx fastr R -e 'install.packages(\"microbenchmark\", quiet = TRUE); cat(\"Run benchmark...\\n\"); microbenchmark::microbenchmark(\"unique list\" = { for (i in 1:10000) unique(1:i) }, times = 25, unit = \"s\")'\n```\n\nOutput _without_ Graal compiler:\n\n```\n\u003e install.packages(\"microbenchmark\", quiet = TRUE); cat(\"Run benchmark...\\n\"); microbenchmark::microbenchmark(\"unique list\" = { for (i in 1:10000) unique(1:i) }, times = 25, unit = \"s\")\nUpdating HTML index of packages in '.Library'\nMaking 'packages.html' ... done\nRun benchmark...\nUnit: seconds\n        expr      min      lq     mean   median       uq      max neval\n unique list 1.280034 1.38484 1.505686 1.482067 1.551866 2.120451    25\n```\n\nNotice the differences between `median`/`mean` and `max`/`min`, i.e. the speed up occurring after a longer first execution if using the Graal compiler.\nThe difference gets more obvious with higher repetition numbers (parameter `times`).\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\nFastR is available under the GPLv2 license.\n\nCode files in this repository are published under GPLv3 and are Copyright (C) 2017 Daniel Nüst, see LICENSE for the full text of the license.","funding_links":[],"categories":["Dockerfile"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuest%2Ffastr-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnuest%2Ffastr-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuest%2Ffastr-docker/lists"}