Package: startup 0.22.0

startup: Friendly R Startup Configuration

Adds support for R startup configuration via '.Renviron.d' and '.Rprofile.d' directories in addition to '.Renviron' and '.Rprofile' files. This makes it possible to keep private / secret environment variables separate from other environment variables. It also makes it easier to share specific startup settings by simply copying a file to a directory.

Authors:Henrik Bengtsson [aut, cre, cph]

startup_0.22.0.tar.gz
startup_0.22.0.zip(r-4.5)startup_0.22.0.zip(r-4.4)startup_0.22.0.zip(r-4.3)
startup_0.22.0.tgz(r-4.4-any)startup_0.22.0.tgz(r-4.3-any)
startup_0.22.0.tar.gz(r-4.5-noble)startup_0.22.0.tar.gz(r-4.4-noble)
startup_0.22.0.tgz(r-4.4-emscripten)startup_0.22.0.tgz(r-4.3-emscripten)
startup.pdf |startup.html
startup/json (API)
NEWS

# Install 'startup' in R:
install.packages('startup', repos = c('https://henrikbengtsson.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/henrikbengtsson/startup/issues

On CRAN:

configurationenvironment-variablesstartuputility

19 exports 162 stars 5.64 score 0 dependencies 16 scripts 67.4k downloads

Last updated 1 months agofrom:c2ba01cec4 (on master). Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 02 2024
R-4.5-winOKSep 02 2024
R-4.5-linuxOKSep 02 2024
R-4.4-winOKSep 02 2024
R-4.4-macOKSep 02 2024
R-4.3-winOKSep 02 2024
R-4.3-macOKSep 02 2024

Exports:checkcurrent_scriptfind_renvironfind_renviron_dfind_rprofilefind_rprofile_dinstallis_debug_onon_session_enteron_session_exitrenviron_dreset_when_cacherestartrprofile_dstartupstartup_session_optionssysinfouninstallwarn

Dependencies:

startup: Friendly R Startup Configuration

Rendered fromstartup-intro.mdusingstartup::selfonlyon Sep 02 2024.

Last update: 2023-12-11
Started: 2017-09-07

Readme and manuals

Help Manual

Help pageTopics
Check for and fix common mistakes in .Rprofilecheck
Gets the pathname of the currently running startup scriptcurrent_script
Install and uninstall support for .Renviron.d and .Rprofile.d startup directoriesinstall uninstall
Check if running R via Emacs Speaks Statistics (ESS)is_ess
Checks if running R via Jupyteris_jupyter
Check if running R via Microsoft R Openis_microsoftr
Check if running a Pretty Quick Version of R (pqR)is_pqr
Check if running R via radian (formerly known as rtichoke and rice)is_radian
Checks if running R in RStudio Console or RStudio Terminalis_rstudio_console
Checks if running R via Visual Studio Code (VSCode)is_vscode
Checks if running R via webRis_webr
Check if running R on Windows using Wineis_wine
Register functions to be evaluated at the beginning or end of the R sessionon_session_enter on_session_exit
Load .Renviron.d and .Rprofile.d directories during the R startup processrenviron renviron_d rprofile rprofile_d startup
Reset all or parts of the "when" cachereset_when_cache
Restarts Rrestart
Record R session information as optionsstartup_session_options
Options and environment variables used by the 'startup' packageR_STARTUP_CHECK R_STARTUP_CHECK_OPTIONS_IGNORE R_STARTUP_DEBUG R_STARTUP_DISABLE R_STARTUP_DRYRUN R_STARTUP_FILE R_STARTUP_INIT R_STARTUP_RDATA R_STARTUP_TIME startup.check startup.check.options.ignore startup.commandArgs startup.debug startup.disable startup.dryrun startup.file startup.init startup.options startup.rdata startup.time
Information on the current R sessionsysinfo
Produce a warningwarn