Rev 39096 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
\name{Sys.putenv}\title{Set Environment Variables}\usage{Sys.putenv(\dots)}\alias{Sys.putenv}\arguments{\item{\dots}{arguments in \code{name=value} form, with \code{value}coercible to a character string.}}\description{\code{Sys.putenv} sets environment variables (for other processes calledfrom within \R or future calls to \code{\link{Sys.getenv}} from this\R process).}\value{A logical vector of the same length as \code{x}, with elements beingtrue if setting the corresponding variable succeeded.}\details{Non-standard \R names must be quoted: see the Examples section.}\note{Not all systems need support \code{Sys.putenv} (although all knowncurrent platforms do).}\seealso{\code{\link{Sys.getenv}}, \link{Startup} for ways to set environmentvariables for the \R session.\code{\link{setwd}} for the working directory.}\examples{print(Sys.putenv(R_TEST="testit", "A+C"=123))Sys.getenv("R_TEST")}\keyword{environment}\keyword{utilities}