\HeaderA{Sys.putenv}{Set Environment Variables}{Sys.putenv}
\keyword{environment}{Sys.putenv}
\keyword{utilities}{Sys.putenv}
\begin{Description}\relax
\code{putenv} sets environment variables (for other processes called
from within \R{} or future calls to \code{\LinkA{Sys.getenv}{Sys.getenv}} from this
\R{} process).
\end{Description}
\begin{Usage}
\begin{verbatim}
Sys.putenv(...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{...}] arguments in \code{name=value} form, with \code{value}
coercible to a character string.
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
Non-standard \R{} names must be quoted: see the Examples section.
\end{Details}
\begin{Value}
A logical vector of the same length as \code{x}, with elements being
true if setting the corresponding variable succeeded.
\end{Value}
\begin{Note}\relax
Not all systems need support \code{Sys.putenv} (although all known
current platforms do).
\end{Note}
\begin{SeeAlso}\relax
\code{\LinkA{Sys.getenv}{Sys.getenv}}, \LinkA{Startup}{Startup} for ways to set environment
variables for the \R{} session.

\code{\LinkA{setwd}{setwd}} for the working directory.
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
print(Sys.putenv(R_TEST="testit", "A+C"=123))
Sys.getenv("R_TEST")
\end{ExampleCode}
\end{Examples}

