Sweave in Rstudio — no plots showing in pdf
问题 Sweave/Latex newbie here. I have no problems generating regular functions outputs, but the plots don't show up. Here's a basic example: \documentclass{article} \begin{document} \SweaveOpts{concordance=TRUE} <<chunk1>>= print("Hello World") boxplot(rnorm(100)) @ \end{document} And the corresponding .tex output: \documentclass{article} \usepackage{Sweave} \begin{document} \input{test2-concordance} \begin{Schunk} \begin{Sinput} > print("Hello World") \end{Sinput} \begin{Soutput} [1] "Hello World