\begin{Schunk}
\begin{Sinput}
 pdf(file.path(odir, "myfirst.pdf"))
 hist(rnorm(1000), main = "1000 random normals") 
 dev.off()
\end{Sinput}
\begin{Soutput}
pdf 
  2 
\end{Soutput}
\end{Schunk}
