[Tikzdevice-bugs] pgfSweave partly working, but problems with figures (R hangs) - help?

29 views
Skip to first unread message

Jenny Hutchison

unread,
Nov 22, 2011, 7:44:28 AM11/22/11
to tikzdev...@r-forge.wu-wien.ac.at
Dear list,
I have been using sweave for some time now (using Eclipse and StatET on
Windows 7 64 bit) and now want to move to using pgfSweave. I am
tantalisingly close to having things working, I think, but would appreciate
your assistance in getting figures to work.

I'm running the simple example from here:
https://github.com/cameronbracken/pgfSweave/blob/master/inst/example/pgfSweave-latex-example.Rnw

And although (encouragingly!) I get the following output in the R console
(R-2.14.0 64 bit):
> pgfSweave(file =
"C:\\Users\\me\\Documents\\Projects\\EclipseWorkspace\\SANDBOX_pgfSweave\\Example.Rnw")
Writing to file Example.tex
Processing code chunks with options ...
1 : keep.source term verbatim (label=setup)
2 : echo highlight tidy keep.source term verbatim (label=data)
3 : echo highlight keep.source term verbatim tikz external (label=boxplot)
(Re)Running External Chunk: boxplot

You can now run (pdf)latex on 'Example.tex'

AND there is the appropriate figure showing up in the graphics device (an
ozone distribution boxplot),

BUT: despite the R console telling me to go off and run latex, it stays
hung up processing the figure - doesn't seem to get beyond 6%. In
frustration, I end up cancelling the last command. I guess because all the
latex side of things has already been taken care of, I do have a latex file
and can generate the pdf, but (not surprisingly, I guess), there is no
image in it.
The message in the pdf is [[ IMAGE DISCARDED DUE TO
'/tiks/external/mode=list and make']]. The good news is that rest of the
document looks great.

I have tried with even simpler examples (e.g. in attachment), and much the
same thing happens - R hangs at 6%, on the figure chunk.

I'm attaching some more information about my system and the
tikzStringWidthCalc.log file to this email, but must admit I don't know if
this mailing list accepts attachments this way, or if they will be stripped
off. Happy to post them, and any other information required to help with
the problem.

Thank you,
Jenny

--
Dr Jenny Hutchison

Email: je...@ausvet.com.au

ExtraInfo.txt
Reply all
Reply to author
Forward
0 new messages