Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

When I zwitched from article to \documentclass[fontsize=2pt]{scrreprt}, I am getting around the xtable -things:

\begin{Schunk}
\begin{Soutput}
...
\end{Schunk}
\end{Soutput}

Trial (code here)

$ R CMD Sweave code.Rnw
$ pdflatex code.tex          # or if you get the Schunk/Soutput, rm manually
$ evince code.pdf

How can I force the new package not to output that kind of Schunk/Soutput -block? It is slow to remove them, otherwise not displaying the tables.

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

I do not think the document class is relevant; instead of <<echo=False>>=, you should use <<echo=FALSE, results=tex>>= to tell Sweave that the output will be tex code which should not be wrapped in the Soutput environment.

share|improve this answer
    
Worked! Thank you +1. I did dot realize the article -class handled this thing implicitly, well always something to learn, better make things more explicit in the future by this. –  hhh May 9 '12 at 3:09
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.