{"id":14069670,"url":"https://github.com/klmr/switch-r","last_synced_at":"2026-04-16T15:34:26.507Z","repository":{"id":139865988,"uuid":"323317485","full_name":"klmr/switch-r","owner":"klmr","description":"R version switcher for macOS","archived":false,"fork":false,"pushed_at":"2020-12-21T11:36:56.000Z","size":2,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-25T07:07:29.836Z","etag":null,"topics":["r"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/klmr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2020-12-21T11:33:33.000Z","updated_at":"2025-10-06T09:34:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"d4392871-9e45-4855-a431-98fe17eda361","html_url":"https://github.com/klmr/switch-r","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/klmr/switch-r","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klmr%2Fswitch-r","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klmr%2Fswitch-r/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klmr%2Fswitch-r/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klmr%2Fswitch-r/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/klmr","download_url":"https://codeload.github.com/klmr/switch-r/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klmr%2Fswitch-r/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31892555,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T11:36:10.202Z","status":"ssl_error","status_checked_at":"2026-04-16T11:36:09.652Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["r"],"created_at":"2024-08-13T07:07:07.716Z","updated_at":"2026-04-16T15:34:26.482Z","avatar_url":"https://github.com/klmr.png","language":"Shell","readme":"# R version switcher for macOS\n\n\n## Installation\n\n```bash\nmkdir -p ~/bin\ncurl -L https://raw.githubusercontent.com/klmr/switch-r/main/switch-r \u003e~/bin/switch-r\nchmod +x ~/bin/switch-r\n```\n\nNext, ensure that `~/bin` is on your `PATH` — or copy the script to a location\nthat is.\n\n## Usage\n\n```bash\n⟩⟩⟩ switch-r --help\n/Users/konrad/bin/switch-r [--list|--current|‹version›]\n\n⟩⟩⟩ switch-r -l # or --list\n· 3.5\n· 3.6\n✔︎ 4.0\n· 4.1\n```\n\nswitch-r only looks for R versions installed as a framework via the original\npkg, either from [r-project.org](https://r-project.org/), or via `brew install\n--cask r`. Other installed versions of R are ignored.\n\nThe script works by switching the `Current` symlink under\n`/Library/Frameworks/R.framework/Versions/` to the specified framework version.\nThis requires that the R library path includes the R version (e.g. [by setting\n`R_LIBS_USER` to contain\n`%v`](https://stat.ethz.ch/R-manual/R-devel/library/base/html/libPaths.html)),\notherwise loading packages may not work.\n","funding_links":[],"categories":["Shell"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fklmr%2Fswitch-r","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fklmr%2Fswitch-r","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fklmr%2Fswitch-r/lists"}