open_r_environ: Open '.Renviron' File

View source: R/paths-and-files.R

open_r_environR Documentation

Open .Renviron File

Description

Functions to get path to and open .Renviron file that contains definitions of R environment variables.

Compared to usethis::edit_r_environ(), open_r_environ() does not create file if it does not exist.

Usage

get_path_r_environ(scope = c("user", "project"))

open_r_environ()

Arguments

scope

(character) The scope of file. One of "user" or "project".

See Also

  • usethis::edit_r_environ()

Examples

get_path_r_environ()


mokymai/bs documentation built on Jan. 28, 2025, 8:26 p.m.