\documentclass{article}

\begin{document}
\SweaveOpts{concordance=TRUE}


Test

\end{document}
