Hi, You do not need to use a different Sweave.sty, but I think you have to add this to your Rnw file:
\usepackage{tikz} Regards, Yihui -- Yihui Xie <xieyi...@gmail.com> Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA On Thu, Sep 29, 2011 at 11:46 AM, syrvn <ment...@gmx.net> wrote: > Hello, > > since 3 days now I try to get pgfSweave running using Eclipse + StatET. > > I created a super simple .Rnw file which can be viewed here: > > http://www.text-upload.com/read.php?id=147992&c=6441045 test.Rnw > > When I use sweave it works perfectly fine but when I use pgfSweave I get an > error. > The R output can be viewed here: > > http://www.text-upload.com/read.php?id=147995&c=3804886 R output > > the output of the test.tex file can be viewed here: > > http://www.text-upload.com/read.php?id=147997&c=7898288 test.tex > > I have no clue at all why it doesn't work. For sweating I use the Sweave.sty > which comes with R. > Do I have to use a different file for pgfSweave? > > Help is very much appreciated as I totally run out of ideas... > > Best, > syrvn > > -- > View this message in context: > http://r.789695.n4.nabble.com/simplest-pgfSweave-example-results-in-error-tp3856628p3856628.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.