\begin{Schunk}
\begin{Sinput}
 x <- c(1L, 2L, 3L)
 class(x)
\end{Sinput}
\begin{Soutput}
[1] "integer"
\end{Soutput}
\begin{Sinput}
 ## same as as.numeric()
 y <- as.double(x)
 y
\end{Sinput}
\begin{Soutput}
[1] 1 2 3
\end{Soutput}
\begin{Sinput}
 class(y)
\end{Sinput}
\begin{Soutput}
[1] "numeric"
\end{Soutput}
\end{Schunk}
