Last chance! 50% off unlimited learning
Sale ends in
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)
A length-one character vector giving the path to the file. Tilde-expansion is performed where supported.
Scalar logical indicating if the file was read successfully. Returned invisibly. If the file cannot be opened for reading, a warning is given.
Startup
for the file format.
# NOT RUN {
## re-read a startup file (or read it in a vanilla session)
readRenviron("~/.Renviron")
# }
Run the code above in your browser using DataLab