TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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


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
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

Your Answer


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.