\begin{Schunk}
\begin{Sinput}
 x <- vector(mode = "integer", length = 5)
 is.integer(x)
\end{Sinput}
\begin{Soutput}
[1] TRUE
\end{Soutput}
\begin{Sinput}
 x <- c(1, 2, 3, 4, 5)
 is.integer(x)
\end{Sinput}
\begin{Soutput}
[1] FALSE
\end{Soutput}
\begin{Sinput}
 ## R is hiding the decimals from you
 x
\end{Sinput}
\begin{Soutput}
[1] 1 2 3 4 5
\end{Soutput}
\begin{Sinput}
 mode(x)
\end{Sinput}
\begin{Soutput}
[1] "numeric"
\end{Soutput}
\end{Schunk}
