View source: R/set_r_profile_settings.R
set_rprofile_settings | R Documentation |
Configures important settings in your .Rprofile
to improve the R
experience, especially for new users. This includes:
Setting package installation to use binaries (non-Linux systems)
Increasing the timeout for downloads to prevent installation failures
These settings help avoid common issues like source compilation failures on Windows and timeout errors when downloading large packages.
You can examine your .Rprofile
to confirm changes with
usethis::edit_r_profile()
set_rprofile_settings(set_for_session = TRUE, backup = TRUE)
set_for_session |
Logical, defaults to |
backup |
Logical, defaults to |
Invisible NULL
. Called for side effects.
## Not run:
# Apply settings to .Rprofile and current session
set_rprofile_settings()
# Only modify .Rprofile, don't change current session
set_rprofile_settings(set_for_session = FALSE)
# Modify without creating backup
set_rprofile_settings(backup = FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.