r_profile: Get the location of the R profile/environ

Description Usage Arguments Value See Also Examples

Description

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

Usage

1
2
3
4
5
6
7
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.

Examples

1
2
3
4

Example output

[1] ""
[1] ""
[1] ""
[1] ""

pathological documentation built on May 1, 2019, 10:22 p.m.