{"id":14069736,"url":"https://github.com/INWTlab/r-config","last_synced_at":"2025-07-30T06:32:38.134Z","repository":{"id":54692414,"uuid":"144290447","full_name":"INWTlab/r-config","owner":"INWTlab","description":"R installation and configuration. We have moved this configuration into ansible. This repo is no longer maintained.","archived":true,"fork":false,"pushed_at":"2021-02-03T15:29:29.000Z","size":19,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-12-04T11:37:48.662Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/INWTlab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-10T13:36:37.000Z","updated_at":"2023-01-28T06:25:12.000Z","dependencies_parsed_at":"2022-08-14T00:10:39.812Z","dependency_job_id":null,"html_url":"https://github.com/INWTlab/r-config","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/INWTlab/r-config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/INWTlab%2Fr-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/INWTlab%2Fr-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/INWTlab%2Fr-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/INWTlab%2Fr-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/INWTlab","download_url":"https://codeload.github.com/INWTlab/r-config/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/INWTlab%2Fr-config/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267822752,"owners_count":24149680,"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","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-08-13T07:07:10.826Z","updated_at":"2025-07-30T06:32:37.841Z","avatar_url":"https://github.com/INWTlab.png","language":"Shell","readme":"## Install specific R version in Ubuntu\n\n\n### Install R in your preferred version:\n\n```\nsudo bash bionic/install-r.sh \u003cversion\u003e \u003cdate-for-mran\u003e\n```\n\n### Set additional default repositories\n\n```\nexport REPO=\u003cyour-local-repo\u003e \nsudo bash set-repo.sh \u003cversion\u003e\n```\n\n### Install R package\n\n```\nsudo bash install-pkg.sh \u003cversion\u003e \u003cpkg\u003e\n```\n\n### Install all R packages from repo\n\n```\nexport REPO=\u003cyour-local-repo\u003e \nsudo bash install-repo.sh \u003cversion\u003e\n```\n\n### Uninstall all R packages from repo\n\n```\nexport REPO=\u003cyour-local-repo\u003e \nsudo bash uninstall-repo.sh \u003cversion\u003e\n```\n\n## Example\n\nTo install R in version 3.5.1 and 3.5.2 on one system, you can run:\n\n```\nsudo bash bionic/install-r.sh 3.5.1 2018-08-31\nsudo bash bionic/install-r.sh 3.5.2 2019-03-10\n# set repository\nexport REPO=\u003cyour-local-repo\u003e \nsudo bash set-repo.sh 3.5.1\nsudo bash set-repo.sh 3.5.2\n# install packages\nsudo bash install-pkg.sh 3.5.1 tidyverse\nsudo bash install-pkg.sh 3.5.2 tidyverse\n# install repositories\nsudo bash install-repo.sh 3.5.1\nsudo bash install-repo.sh 3.5.2\n```\n\nNow you have a 'base' stack of R packages for all your users installed. The\ncommand `R` is bound to the latest version you installed. A specific version can\nbe launched using:\n\n```\nR -e 'sessionInfo()'\nR-3.5.1 -e 'sessionInfo()'\nR-3.5.2 -e 'sessionInfo()'\n```\n\n## Gotchas\n\n`bionic/install-r.sh` assumes that the local installation of apt has the source\nrepositories for r-base activated. If this is not the case, e.g. in a fresh\ninstallation of a server ubuntu, you may add the following lines to the\nconfiguration:\n\n```\nsudo su -c \"echo 'deb-src http://de.archive.ubuntu.com/ubuntu/ bionic universe\ndeb-src http://de.archive.ubuntu.com/ubuntu/ bionic-updates universe' \u003e /etc/apt/sources.list.d/r-sources.list\"\nsudo apt update\n```\n\nand remove it with\n\n```\nsudo rm /etc/apt/sources.list.d/r-sources.list\nsudo apt clean\nsudo apt update\n```\n","funding_links":[],"categories":["Shell"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FINWTlab%2Fr-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FINWTlab%2Fr-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FINWTlab%2Fr-config/lists"}