Download OpenAPI specification:Download
This service is an API to query current and past R versions and installers. You can use it is devops scripts, e.g. for continuous integration tools, to query which version(s) or R you want to install. It is updated every hour, so a new R release or a new installer is typically picked up within on hour.
This is a JSON API, all responses are JSON.
In the current R release process, there is a new major or minor release every year, typically in April. There are also several patch releases. Once there is a newer major or minor release, the older major or minor releases typically do not get new patch releases. (E.g. once R 3.6.0 is out, the R 3.5.x minor branch will not receive more releases.)
/r-release./r-release-tarball./r-release-win
or /r-release-macos, respectively./r-oldrel.The source code of this service lives at https://github.com/r-hub/rversions.app#readme.
You can download the OpenApi 3.0.x specification of this API.
To report bugs please use the issue tracker at https://github.com/r-hub/rversions.app/issues.
This service is part of the R-hub project, supported by the R Consortium.
Resolve an R version specification.
| version required | string Must be one of:
|
| os | string Operating system. One of:
Currently supported Linux distros are:
|
| arch | string Architecture. Only specify it if 'os' is also specified. It can be
|
{- "version": "4.2.3",
- "nickname": "Shortstop Beagle",
- "type": "release",
- "date": "2023-03-15T08:06:01.008593Z"
}List all available R buidls for a platform and architecture.
| os required | string Operating system. One of:
Currently supported Linux distros are:
|
| arch | string Architecture. Only specify it if 'os' is also specified. It can be
|
[- {
- "version": "4.2.3",
- "name": "4.2.3",
- "type": "release",
- "date": "2023-03-15T08:06:01.008593Z"
}
]The current released version of R. Determined from the R SVN repository. It you need a version for which an installer or tarball is available for download, look at the other endpoints.
{- "version": "3.6.3",
- "date": "2020-02-29T08:05:16.744223Z",
- "nickname": "Holding the Windsock"
}The last release of the previous minor branch. E.g. if the latest released version is '3.6.3', then 'oldrel' is the latest patch version of the '3.5' branch, currently '3.5.3'.
{- "version": "3.6.3",
- "date": "2020-02-29T08:05:16.744223Z",
- "nickname": "Holding the Windsock"
}Last releases of previous minor branches. E.g. r-oldrel/2 is the
release that was oldrel before the current R release. r-oldrel/1
is the same as r-oldrel.
| n required | integer Number of minor versions to go back. |
{- "version": "3.6.3",
- "date": "2020-02-29T08:05:16.744223Z",
- "nickname": "Holding the Windsock"
}The latest version with a downloadable source code tarball. This is usually the same as 'r-release', but it might take some time to create a source tarball from the SVN tag. Typically you query the release version because you want to download a source tarball or an installer. Use this end point if you want to download a source tarball.
{- "version": "3.6.3",
- "date": "2020-02-29T08:05:16.744223Z",
- "nickname": "Holding the Windsock",
}The latest version for which a Windows installer is available. This is usually the same as 'r-release', but there is typically a short delay until the Windows installer is built from the release. Use this end point if you want to download the current Windows installer.
{- "version": "3.6.3",
- "date": "2020-02-29T08:05:16.744223Z",
- "nickname": "Holding the Windsock",
}The latest version for which a macOS installer is aavilable.
This is usually the same as 'r-release', but there is typically
a short delay until the macOS installer is built from the release.
Use this end point if you want to download the current macOS installer.
r-release-macos-x86_64 is an alias of this endpoint.
{- "version": "3.6.3",
- "date": "2020-02-29T08:05:16.744223Z",
- "nickname": "Holding the Windsock",
}The latest version for which an arm64 macOS installer is aavilable. This is usually the same as 'r-release', but there is typically a short delay until the macOS installer is built from the release. Use this end point if you want to download the current macOS installer.
{- "version": "3.6.3",
- "date": "2020-02-29T08:05:16.744223Z",
- "nickname": "Holding the Windsock",
}The next release is R-patched if there is no release process
currently. Otherwise it may be R-alpha, R-beta, R-rc or R-prerelease.
r-prerelease is an alias for this endpoint.
{- "version": "3.6.3",
- "date": "2020-02-29T08:05:16.744223Z",
- "nickname": "Holding the Windsock",
- "type": "alpha",
}Windows installer for the next version of R. This can be an installer
for r-next, or the installer for R-patched, if an installer is not
available (yet) for R-alpha, R-beta, etc.
r-prerelease-win is an alias for this endpoint.
{- "version": "3.6.3",
- "date": "2020-02-29T08:05:16.744223Z",
- "nickname": "Holding the Windsock",
- "type": "alpha",
}macOS installer for the next version of R. This can be an installer
for r-next, or the installer for R-patched, if an installer is not
available (yet) for R-alpha, R-beta, etc.
r-prerelease-macos is an alias for this endpoint.
{- "version": "3.6.3",
- "date": "2020-02-29T08:05:16.744223Z",
- "nickname": "Holding the Windsock",
- "type": "patcheda",
}arm64 macOS installer for the next version of R. This can be an installer
for r-next, or the installer for R-patched, if an installer is not
available (yet) for R-alpha, R-beta, etc.
r-prerelease-macos-arm64 is an alias for this endpoint.
{- "version": "3.6.3",
- "date": "2020-02-29T08:05:16.744223Z",
- "nickname": "Holding the Windsock",
- "type": "patcheda",
}[- {
- "version": "42",
- "first": "4.2.0",
- "last": "4.2.100"
}
]These are the Linux distribution that either https://github.com/rstudio/r-builds/ or https://github.com/r-hub/R/releases has binary R builds for.
{- "id": "ubuntu-1804",
- "aliases": [
- "ubuntu-18.04",
- "bionic"
], - "name": "Ubuntu",
- "version": "18.04",
- "codename": "Bionic Beaver",
- "docker": "ubuntu:18.04",
- "eol": "2023-05-31",
- "ppm-binaries": true
}