Thanks. When I try to run the test it fails. This is the stderr output is shown below and test.log is attached. I am on Windows Vista and am running R 2.10.0.<br><br>---<br><br>C:\tmp2\tikzDevice\inst\tests>Rscript testRTikZDevice.R --output=output > test.l<br>
og<br>Loading required package: filehash<br>Loading required package: methods<br>filehash: Simple key-value database (2.0-1 2008-12-19)<br>tikzDevice: A Device for R Graphics Output in PGF/TikZ Format (v0.4.8)<br>Checking for a LaTeX compiler...<br>
<br><br>A working LaTeX compiler was found in:<br> The PATH using the command latex<br><br>Global option tikzLatex set to:<br> C:\PROGRA~1\MIKTEX~1.7\miktex\bin\latex.exe<br><br>MiKTeX-pdfTeX 2.7.2808 (1.40.4) (MiKTeX 2.7)<br>
Copyright (C) 1982 D. E. Knuth, (C) 1996-2006 Han The Thanh<br>TeX is a trademark of the American Mathematical Society.<br><br><br>Error in getMetricsFromLatex(TeXMetrics) :<br> ******** There was a problem calculating string metrics,<br>
******** likely there was a problem with your custom packages.<br> ******** See the LaTeX log file above for details.<br>Calls: source ... Axis.default -> axis -> <Anonymous> -> getMetricsFromLatex<br>Execution halted<br>
<br>---<br><br><div class="gmail_quote">On Wed, Dec 2, 2009 at 8:23 PM, Cameron Bracken <span dir="ltr"><<a href="mailto:cameron.bracken@gmail.com">cameron.bracken@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Not quite sure what you mean by relative speed, but yes there is a test suite that times some output. The suite is in the inst/tests directory of the source code. A vast majority of the time is taken by calculating string widths. The performance gain from caching metrics calculations is very noticable, somtimes up to 90% when lots of strings are involved. Does this answer your question?<br>
<font color="#888888">
<br>
-Cameron</font><div class="im"><br>
<br>
On Dec 2, 2009, at 6:10 PM, Gabor Grothendieck <<a href="mailto:ggrothendieck@gmail.com" target="_blank">ggrothendieck@gmail.com</a>> wrote:<br>
<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">
Are there any performance benchmarks for tikzdevice? Is the relative speed noticeable?<br>
<br>
<br></div><div class="im">
_______________________________________________<br>
Tikzdevice-bugs mailing list<br>
<a href="mailto:Tikzdevice-bugs@lists.r-forge.r-project.org" target="_blank">Tikzdevice-bugs@lists.r-forge.r-project.org</a><br>
<a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/tikzdevice-bugs" target="_blank">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/tikzdevice-bugs</a><br>
</div></blockquote>
</blockquote></div><br>