\Header{machine}{Determine the Machine R is Running On}
\keyword{environment}{machine}
\keyword{programming}{machine}
\begin{Description}\relax
This function returns a character string which specifies what kind of
environment \R{} is being run in.\end{Description}
\begin{Usage}
\begin{verbatim}
machine()
\end{verbatim}
\end{Usage}
\begin{SeeAlso}\relax
\code{\Link{.Platform}} which provides more than \code{machine()};
\code{\Link{Machine}} for the computer's characteristics in arithmetics;\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
machine()# to see yours
tolower(machine()) == .Platform $ OS ## --> often TRUE
if (machine() == "Macintosh")
  cat("You are using a Macintosh computer\n")
\end{ExampleCode}
\end{Examples}

