我有一個我的論文的文件,其中包括章節。 幾周前,我曾與R-Statistic和*.rnw
文件合作生成*.tex
論文。 現在,我想在我的論文中包含這些*.tex
論文。但是,每次我收到幾個錯誤。乳膠和Sweave,不能包括圖
結構
/home/UserName/R-files/Dokumentation5.rnw /home/UserName/tex-Files/Dokumentation5.tex // from Dokumentation5.rnw files
在下面的文件夾中,我把TeX和數字(
*.pdf
)。/home/UserName/Documentation/chapter/
編輯
Dokumentation5.tex
,除去開頭和 「最終文件」在論文的文件,添加以下命令:
\usepackage{Sweave} \include /home/UserName/Documentation/chapter/
運行
latex
如果我運行LaTeX,我得到了se veral這樣的錯誤:
File `Dokumentation5-004' not found.
\begin{document} ended by \end{Schunk}.
Too many }'s
File `Dokumentation5-033' not found.
你如何用sweave(knitr?)製作整篇論文?我會做一個master.Rnw文件並使用\ include來添加不同的章節。 –
最簡單的方法是什麼? – rXhalogene
如果我可以推薦[我的舊帖子](http://stackoverflow.com/questions/8366193/writing-big-documents-with-sweave-is-it-possible-to-do-as-with-latex/8366504 #8366504)... – vaettchen