I want to insert out put file (created in RStudio as .rnw file, then I complied, it creates the .tex file) into my main .tex file. But I got an error, hw we can do this?
Asked
Active
Viewed 25 times
texfile contain\begin{document} … \end{document}and perhaps some\usepackage…before? BTW the usual commands would be\input{…}or\include{…}. A minimal working example (MWE) could help us to help you. – Speravir Jan 08 '14 at 18:26\documentclass{...}and ending with\end{document}. In your case add a short RStudio compiled TeX file, too. – Speravir Jan 08 '14 at 18:39