powered by
site.file() and init.file() return the normalized paths of the site-wide startup profile file and the user profile that were run at startup.
site.file()
init.file()
normalized
startup
with_init.file() declares that the current script is the user profile then evaluates and auto-prints the sub-expressions of its argument.
with_init.file()
site.file(original = FALSE, for.msg = FALSE, default, else.) init.file(original = FALSE, for.msg = FALSE, default, else.)with_site.file(expr) with_init.file(expr)
with_site.file(expr) with_init.file(expr)
for site.file() and init.file(), a character string, or
default if it was not found.
default
for with_site.file() and with_init.file(), NULL
with_site.file()
NULL
invisibly.
Same as shFILE().
shFILE()
a braced expression, the sub-expressions of which to evaluate and auto-print.
## if you wish to use this.path() in a user profile, ## instead of writing: ## ## ## ## <...> ## ## write this: ## ## this.path::with_init.file({ ## ## ## <...> ## })
Run the code above in your browser using DataLab