| install_r_portable | R Documentation |
Downloads and caches a portable R build. Follows the same pattern
as install_nodejs().
install_r_portable(
version = NULL,
platform = NULL,
arch = NULL,
force = FALSE,
verbose = TRUE
)
version |
Character string. R version to install. If NULL, installs latest. |
platform |
Character string. Target platform. |
arch |
Character string. Target architecture. |
force |
Logical. Whether to reinstall if already cached. |
verbose |
Logical. Whether to show progress. |
Character string. Path to the installed R directory.
install_python_standalone(), install_nodejs() for other runtime installers;
r_executable() to find the installed Rscript path.
# Install latest R release
install_r_portable()
# Install specific version for a target platform
install_r_portable(version = "4.4.0", platform = "win", arch = "x64")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.