r_environ

0th

Percentile

Get the location of the R profile/environ

Gets the location of the user or site R profile and environ startup files.

Usage
r_environ(sep = c("/", "\\"))
r_environ_site(sep = c("/", "\\"))
r_profile(sep = c("/", "\\"))
r_profile_site(sep = c("/", "\\"))
Arguments
sep
String separator between directory levels in the output.
Value

A string giving the path the ".Rprofile", ".Renviron", "Rprofile.site", or ".Renviron.site". If the file cannot be found, NA is returned.

See Also

Startup for how this is calculated.

Aliases
  • environ
  • r_environ
  • r_environ_site
  • r_profile
  • r_profile_site
  • startup
Examples
r_environ()
r_environ_site()
r_profile()
r_profile_site()
Documentation reproduced from package pathological, version 0.1-1, License: Unlimited

Community examples

Looks like there are no examples yet.