| cache_r_path | R Documentation |
Creates the path to a specific R installation in the cache based on version, platform, and architecture.
cache_r_path(version, platform, arch)
version |
Character string. R version (e.g., "4.1.0"). |
platform |
Character string. Target platform ("win", "mac", or "linux"). |
arch |
Character string. Target architecture ("x64" or "arm64"). |
Character string. The path to the cached R installation for the specified version, platform, and architecture.
The path is structured as cache_dir()/r/[platform]/[arch]/[version].
This function does not check if the installation exists at that location.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.