I'm running this code in Texmaker 4.1 on Ubuntu Linux and for some reason the "echo = FALSE" option is not deleting the code from the final pdf. Any suggestions what I'm doing wrong?
\documentclass{article}
\usepackage[utf8]{inputenc}
\begin{document}
Using R, we can plot the graph of $f(x) = \sin(x)$:
<< echo = FALSE >>=
x = (1:50)/10
plot(x, sin(x))
@
\end{document}