\Header{Version}{Version Information}
\alias{R.Version}{Version}
\alias{R.version}{Version}
\alias{version}{Version}
\alias{R.version.string}{Version}
\keyword{environment}{Version}
\keyword{sysdata}{Version}
\keyword{programming}{Version}
\begin{Usage}
\begin{verbatim}
R.Version()
R.version
R.version.string
\end{verbatim}
\end{Usage}
\begin{Description}
\texttt{R.Version()} provides detailed information about the version of
\R\ running. \\{}
\texttt{R.version} is a variable (a \texttt{\Link{list}}) holding this
information (and \texttt{version} is an \texttt{\Link{.Alias}} to it for
S compatibility), whereas \texttt{R.version.string} is simple
\texttt{\Link{character}} string, useful for plotting, etc.\end{Description}
\begin{Value}
\texttt{R.Version} returns a list with components
\begin{ldescription}
\item[\texttt{platform}] the platform for which \R\ was built.  Under Unix, a
triplet of the form CPU-VENDOR-OS, as determined by the configure
script.  E.g, \texttt{"i586-unknown-linux"}.
\item[\texttt{arch}] the architecture (CPU) \R\ was built on/for.
\item[\texttt{os}] the underlying operating system
\item[\texttt{system}] CPU and OS.
\item[\texttt{status}] the status of the version (e.g., \texttt{"Alpha"})
\item[\texttt{status.rev}] the status revision level
\item[\texttt{major}] the major version number
\item[\texttt{minor}] the minor version number
\item[\texttt{year}] the year the version was released
\item[\texttt{month}] the year the version was released
\item[\texttt{day}] the year the version was released
\item[\texttt{language}] always \texttt{"R"}.
\end{ldescription}
\end{Value}
\begin{SeeAlso}
\texttt{\Link{machine}}.\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
R.version$os # to check how lucky you are ...
plot(0) # any plot
mtext(R.version.string, side=1,line=4,adj=1)# a useful bottom-right note
\end{ExampleCode}
\end{Examples}

