\begin{Schunk}
\begin{Sinput}
 x <- c(1.1, 2.2, 3.9)
 is.integer(x)
\end{Sinput}
\begin{Soutput}
[1] FALSE
\end{Soutput}
\begin{Sinput}
 y <- as.integer(x)
 y
\end{Sinput}
\begin{Soutput}
[1] 1 2 3
\end{Soutput}
\end{Schunk}
