Closed HenrikBengtsson closed 7 years ago
Emulate .Renviron search order:
.Renviron
normalizePath(Sys.getenv("R_ENVIRON_USER"))
./.Renviron
~/.Renviron
Only the first match should be loaded (not all).
In order to emulate this for .Renviron.d/, we should probably search for dirname() of the above path names.
.Renviron.d/
dirname()
From help("Startup", package = "base").
help("Startup", package = "base")
Emulate
.Renviron
search order:normalizePath(Sys.getenv("R_ENVIRON_USER"))
./.Renviron
~/.Renviron
Only the first match should be loaded (not all).
In order to emulate this for
.Renviron.d/
, we should probably search fordirname()
of the above path names.From
help("Startup", package = "base")
.