Many tutorials online say that to include a table in Sweave one should write something like this:


That makes sense. But when I do that in LyX 2.1 on Ubuntu 10.04 with texlive-full 2011 installed (and pgfSweave 2.10), I get the following error:

invalid value for 'output' : tex
  • result=tex similar error Oct 5, 2011 at 9:59

1 Answer 1


Should work with results instead of result or output.


The Sweave documentation may also be helpful.

  • Slowly plodding my way through that. There are like 4 PDF's of necessary background for Sweave, each of them in an obscure style. Nov 26, 2011 at 20:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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