Read as file such as .Renviron or Renviron.site in the format described in the help for Startup, and set environment variables as defined in the file.
readRenviron(path)
| Parameter | Description |
|---|---|
path |
A length-one character vector giving the path to the file. Tilde-expansion is performed where supported. |
# NOT RUN {
## re-read a startup file (or read it in a vanilla session)
readRenviron("~/.Renviron")
# }