[Tikzdevice-bugs] Question about warnings

Cameron Bracken cameron.bracken at gmail.com
Tue Oct 26 07:21:38 CEST 2010


I actually got similar errors with a fresh install of 2.12.0 on my Mac
when compiling the pgfSweave example document.  It is definitely
caused by the metrics calculations, since the warnings don't come back
if the results are cached.  I disabled my default metrics dictionary
and I am able to get the warnings every time. The complete output is
below.

-Cameron


> require(pgfSweave)
Loading required package: pgfSweave
Loading required package: stashR
Loading required package: filehash
filehash: Simple key-value database (2.1-1 2010-10-04)
A Set of Tools for Administering SHared Repositories (0.3-3 2009-03-26)
Loading required package: tikzDevice
tikzDevice: A Device for R Graphics Output in PGF/TikZ Format (v0.5.2)
Checking for a LaTeX compiler...


A working LaTeX compiler was found by checking:
	The PATH using the command pdflatex

Global option tikzLatex set to:
	/usr/texbin/pdflatex

pdfTeX 3.1415926-1.40.11-2.2 (TeX Live 2010)
kpathsea version 6.0.0


Loading required package: cacheSweave
Loading required package: getopt
pgfSweave: Using PGF Version 2.00-cvs
> setwd('~/Documents/codes/pgfSweave/inst/example/')
> pgfSweave('pgfSweave-example.Rnw')
Writing to file pgfSweave-example.tex
Processing code chunks ...
 1 : term verbatim (label=setup)
 2 : echo term verbatim (label=data)
 3 : term verbatim tikz external (label=boxplot)
Creating temporary TikZ metrics dictionary at:
	/var/folders/Qs/Qs80pcjVHlm3bMdyHfy2W++++TI/-Tmp-//Rtmp9DqMbC/tikzMetricsDictionary

You can now run LaTeX on 'pgfSweave-example.tex'
This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010)
 restricted \write18 enabled.
entering extended mode
(./pgfSweave-example.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman-x-2009-06-19, ngerman-x-2009-06-19, ancientgreek, ibycus, arabic, armenian
, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danish, dutch, u
kenglish, usenglishmax, esperanto, estonian, farsi, finnish, french, galician,
german, ngerman, swissgerman, monogreek, greek, hungarian, icelandic, assamese,
 bengali, gujarati, hindi, kannada, malayalam, marathi, oriya, panjabi, tamil,
telugu, indonesian, interlingua, irish, italian, kurmanji, lao, latin, latvian,
 lithuanian, mongolian, mongolianlmc, bokmal, nynorsk, polish, portuguese, roma
nian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, turkish,
 turkmen, ukrainian, uppersorbian, welsh, loaded.
(/usr/local/texlive/2010/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/local/texlive/2010/texmf-dist/tex/latex/base/size10.clo))
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/latex/pgf/frontendlayer/tikz.st
y (/Users/cameron/Library/texmf/tex/latex/pgf/tex/latex/pgf/basiclayer/pgf.sty
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/latex/pgf/utilities/pgfrcs.sty
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/generic/pgf/utilities/pgfutil-c
ommon.tex)
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/generic/pgf/utilities/pgfutil-l
atex.def (/usr/local/texlive/2010/texmf-dist/tex/latex/ms/everyshi.sty))
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/generic/pgf/utilities/pgfrcs.co
de.tex))
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/latex/pgf/basiclayer/pgfcore.st
y (/usr/local/texlive/2010/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/2010/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/texlive/2010/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/latexconfig/graphics.cfg)
(/usr/local/texlive/2010/texmf-dist/tex/latex/pdftex-def/pdftex.def)))
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/latex/pgf/systemlayer/pgfsys.st
y
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/generic/pgf/systemlayer/pgfsys.
code.tex
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/generic/pgf/utilities/pgfkeys.c
ode.tex
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/generic/pgf/utilities/pgfkeysfi
ltered.code.tex))
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/generic/pgf/systemlayer/pgf.cfg
)
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/generic/pgf/systemlayer/pgfsys-
pdftex.def
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/generic/pgf/systemlayer/pgfsys-
common-pdf.def)))
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/generic/pgf/systemlayer/pgfsyss
oftpath.code.tex)
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/generic/pgf/systemlayer/pgfsysp
rotocol.code.tex))
(/usr/local/texlive/2010/texmf-dist/tex/latex/xcolor/xcolor.sty
(/usr/local/texlive/2010/texmf-dist/tex/latex/latexconfig/color.cfg))
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/generic/pgf/basiclayer/pgfcore.
code.tex
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/generic/pgf/math/pgfmath.code.t
ex
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/generic/pgf/math/pgfmathcalc.co
de.tex
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/generic/pgf/math/pgfmathutil.co
de.tex)
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/generic/pgf/math/pgfmathparser.
code.tex)
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/generic/pgf/math/pgfmathfunctio
ns.code.tex
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/generic/pgf/math/pgfmathfunctio
ns.basic.code.tex)
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/generic/pgf/math/pgfmathfunctio
ns.trigonometric.code.tex)
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/generic/pgf/math/pgfmathfunctio
ns.random.code.tex)
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/generic/pgf/math/pgfmathfunctio
ns.comparison.code.tex)
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/generic/pgf/math/pgfmathfunctio
ns.base.code.tex)
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/generic/pgf/math/pgfmathfunctio
ns.round.code.tex)
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/generic/pgf/math/pgfmathfunctio
ns.misc.code.tex)))
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/generic/pgf/math/pgfmathfloat.c
ode.tex))
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/generic/pgf/basiclayer/pgfcorep
oints.code.tex)
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/generic/pgf/basiclayer/pgfcorep
athconstruct.code.tex)
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/generic/pgf/basiclayer/pgfcorep
athusage.code.tex)
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/generic/pgf/basiclayer/pgfcores
copes.code.tex)
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/generic/pgf/basiclayer/pgfcoreg
raphicstate.code.tex)
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/generic/pgf/basiclayer/pgfcoret
ransformations.code.tex)
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/generic/pgf/basiclayer/pgfcoreq
uick.code.tex)
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/generic/pgf/basiclayer/pgfcoreo
bjects.code.tex)
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/generic/pgf/basiclayer/pgfcorep
athprocessing.code.tex)
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/generic/pgf/basiclayer/pgfcorea
rrows.code.tex)
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/generic/pgf/basiclayer/pgfcores
hade.code.tex)
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/generic/pgf/basiclayer/pgfcorei
mage.code.tex)
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/generic/pgf/basiclayer/pgfcorel
ayers.code.tex)
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/generic/pgf/basiclayer/pgfcoret
ransparency.code.tex)
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/generic/pgf/basiclayer/pgfcorep
atterns.code.tex)))
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/generic/pgf/modules/pgfmodulesh
apes.code.tex)
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/generic/pgf/modules/pgfmodulepl
ot.code.tex)
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/latex/pgf/compatibility/pgfcomp
-version-0-65.sty)
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/latex/pgf/compatibility/pgfcomp
-version-1-18.sty))
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/latex/pgf/utilities/pgffor.sty
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/latex/pgf/utilities/pgfkeys.sty

(/Users/cameron/Library/texmf/tex/latex/pgf/tex/generic/pgf/utilities/pgfkeys.c
ode.tex))
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/generic/pgf/utilities/pgffor.co
de.tex))
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/generic/pgf/frontendlayer/tikz/
tikz.code.tex
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/generic/pgf/libraries/pgflibrar
yplothandlers.code.tex)
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/generic/pgf/modules/pgfmodulema
trix.code.tex)
(/Users/cameron/Library/texmf/tex/latex/pgf/tex/generic/pgf/frontendlayer/tikz/
libraries/tikzlibrarytopaths.code.tex)))
(/usr/local/texlive/2010/texmf-dist/tex/latex/geometry/geometry.sty
(/usr/local/texlive/2010/texmf-dist/tex/generic/oberdiek/ifpdf.sty)
(/usr/local/texlive/2010/texmf-dist/tex/generic/oberdiek/ifvtex.sty))
No auxiliary output files.

(/Library/Frameworks/R.framework/Resources/share/texmf/tex/latex/Sweave.sty

LaTeX Warning: You have requested package `/Library/Frameworks/R.framework/Reso
urces/share/texmf/tex/latex/Sweave',
               but the package provides `Sweave'.

(/usr/local/texlive/2010/texmf-dist/tex/latex/base/ifthen.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty
Style option: `fancyvrb' v2.7a, with DG/SPQR fixes, and firstline=lastline fix
<2008/02/07> (tvz))
(/usr/local/texlive/2010/texmf-dist/tex/latex/upquote/upquote.sty
(/usr/local/texlive/2010/texmf-dist/tex/latex/base/textcomp.sty
(/usr/local/texlive/2010/texmf-dist/tex/latex/base/ts1enc.def)))
(/usr/local/texlive/2010/texmf-dist/tex/latex/base/fontenc.sty
(/usr/local/texlive/2010/texmf-dist/tex/latex/base/t1enc.def))
(/usr/local/texlive/2010/texmf-dist/tex/latex/ae/ae.sty
(/usr/local/texlive/2010/texmf-dist/tex/latex/base/fontenc.sty
(/usr/local/texlive/2010/texmf-dist/tex/latex/base/t1enc.def)
(/usr/local/texlive/2010/texmf-dist/tex/latex/ae/t1aer.fd))))
No file pgfSweave-example.aux.
(/usr/local/texlive/2010/texmf-dist/tex/latex/base/ts1cmr.fd)
ABD: EveryShipout initializing macros
(/usr/local/texlive/2010/texmf-dist/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
) (/usr/local/texlive/2010/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
(/usr/local/texlive/2010/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/usr/local/texlive/2010/texmf-dist/tex/generic/oberdiek/ifluatex.sty)
(/usr/local/texlive/2010/texmf-dist/tex/generic/oberdiek/ltxcmds.sty))
(/usr/local/texlive/2010/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
(/usr/local/texlive/2010/texmf-dist/tex/latex/oberdiek/grfext.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/oberdiek/kvoptions.sty
(/usr/local/texlive/2010/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
(/usr/local/texlive/2010/texmf-dist/tex/generic/oberdiek/etexcmds.sty)))
(/usr/local/texlive/2010/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))
*geometry* driver: auto-detecting
*geometry* detected driver: pdftex
(/usr/local/texlive/2010/texmf-dist/tex/latex/ae/t1aett.fd)

LaTeX Font Warning: Font shape `TS1/aett/m/sl' undefined
(Font)              using `TS1/cmr/m/n' instead
(Font)              for symbol `textquotesingle' on input line 23.

(./pgfSweave-example-boxplot.tikz) [1{/Users/cameron/Library/texlive/2010/texmf
-var/fonts/map/pdftex/updmap/pdftex.map}]

LaTeX Font Warning: Some font shapes were not available, defaults substituted.

 )</usr/local/texlive/2010/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx10.pfb
></usr/local/texlive/2010/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb>
Output written on pgfSweave-example-boxplot.pdf (1 page, 26460 bytes).
Transcript written on pgfSweave-example-boxplot.log.
There were 15 warnings (use warnings() to see them)
> warnings()
Warning messages:
1: running command '/usr/texbin/pdflatex -interaction=batchmode
-output-directory
/var/folders/Qs/Qs80pcjVHlm3bMdyHfy2W++++TI/-Tmp-//Rtmp9DqMbC
/var/folders/Qs/Qs80pcjVHlm3bMdyHfy2W++++TI/-Tmp-//Rtmp9DqMbC/tikzStringWidthCalc.tex
2>/dev/null' had status 1
2: running command '/usr/texbin/pdflatex -interaction=batchmode
-output-directory
/var/folders/Qs/Qs80pcjVHlm3bMdyHfy2W++++TI/-Tmp-//Rtmp9DqMbC
/var/folders/Qs/Qs80pcjVHlm3bMdyHfy2W++++TI/-Tmp-//Rtmp9DqMbC/tikzStringWidthCalc.tex
2>/dev/null' had status 1
3: running command '/usr/texbin/pdflatex -interaction=batchmode
-output-directory
/var/folders/Qs/Qs80pcjVHlm3bMdyHfy2W++++TI/-Tmp-//Rtmp9DqMbC
/var/folders/Qs/Qs80pcjVHlm3bMdyHfy2W++++TI/-Tmp-//Rtmp9DqMbC/tikzStringWidthCalc.tex
2>/dev/null' had status 1
4: running command '/usr/texbin/pdflatex -interaction=batchmode
-output-directory
/var/folders/Qs/Qs80pcjVHlm3bMdyHfy2W++++TI/-Tmp-//Rtmp9DqMbC
/var/folders/Qs/Qs80pcjVHlm3bMdyHfy2W++++TI/-Tmp-//Rtmp9DqMbC/tikzStringWidthCalc.tex
2>/dev/null' had status 1
5: running command '/usr/texbin/pdflatex -interaction=batchmode
-output-directory
/var/folders/Qs/Qs80pcjVHlm3bMdyHfy2W++++TI/-Tmp-//Rtmp9DqMbC
/var/folders/Qs/Qs80pcjVHlm3bMdyHfy2W++++TI/-Tmp-//Rtmp9DqMbC/tikzStringWidthCalc.tex
2>/dev/null' had status 1
6: running command '/usr/texbin/pdflatex -interaction=batchmode
-output-directory
/var/folders/Qs/Qs80pcjVHlm3bMdyHfy2W++++TI/-Tmp-//Rtmp9DqMbC
/var/folders/Qs/Qs80pcjVHlm3bMdyHfy2W++++TI/-Tmp-//Rtmp9DqMbC/tikzStringWidthCalc.tex
2>/dev/null' had status 1
7: running command '/usr/texbin/pdflatex -interaction=batchmode
-output-directory
/var/folders/Qs/Qs80pcjVHlm3bMdyHfy2W++++TI/-Tmp-//Rtmp9DqMbC
/var/folders/Qs/Qs80pcjVHlm3bMdyHfy2W++++TI/-Tmp-//Rtmp9DqMbC/tikzStringWidthCalc.tex
2>/dev/null' had status 1
8: running command '/usr/texbin/pdflatex -interaction=batchmode
-output-directory
/var/folders/Qs/Qs80pcjVHlm3bMdyHfy2W++++TI/-Tmp-//Rtmp9DqMbC
/var/folders/Qs/Qs80pcjVHlm3bMdyHfy2W++++TI/-Tmp-//Rtmp9DqMbC/tikzStringWidthCalc.tex
2>/dev/null' had status 1
9: running command '/usr/texbin/pdflatex -interaction=batchmode
-output-directory
/var/folders/Qs/Qs80pcjVHlm3bMdyHfy2W++++TI/-Tmp-//Rtmp9DqMbC
/var/folders/Qs/Qs80pcjVHlm3bMdyHfy2W++++TI/-Tmp-//Rtmp9DqMbC/tikzStringWidthCalc.tex
2>/dev/null' had status 1
10: running command '/usr/texbin/pdflatex -interaction=batchmode
-output-directory
/var/folders/Qs/Qs80pcjVHlm3bMdyHfy2W++++TI/-Tmp-//Rtmp9DqMbC
/var/folders/Qs/Qs80pcjVHlm3bMdyHfy2W++++TI/-Tmp-//Rtmp9DqMbC/tikzStringWidthCalc.tex
2>/dev/null' had status 1
11: running command '/usr/texbin/pdflatex -interaction=batchmode
-output-directory
/var/folders/Qs/Qs80pcjVHlm3bMdyHfy2W++++TI/-Tmp-//Rtmp9DqMbC
/var/folders/Qs/Qs80pcjVHlm3bMdyHfy2W++++TI/-Tmp-//Rtmp9DqMbC/tikzStringWidthCalc.tex
2>/dev/null' had status 1
12: running command '/usr/texbin/pdflatex -interaction=batchmode
-output-directory
/var/folders/Qs/Qs80pcjVHlm3bMdyHfy2W++++TI/-Tmp-//Rtmp9DqMbC
/var/folders/Qs/Qs80pcjVHlm3bMdyHfy2W++++TI/-Tmp-//Rtmp9DqMbC/tikzStringWidthCalc.tex
2>/dev/null' had status 1
13: running command '/usr/texbin/pdflatex -interaction=batchmode
-output-directory
/var/folders/Qs/Qs80pcjVHlm3bMdyHfy2W++++TI/-Tmp-//Rtmp9DqMbC
/var/folders/Qs/Qs80pcjVHlm3bMdyHfy2W++++TI/-Tmp-//Rtmp9DqMbC/tikzStringWidthCalc.tex
2>/dev/null' had status 1
14: running command '/usr/texbin/pdflatex -interaction=batchmode
-output-directory
/var/folders/Qs/Qs80pcjVHlm3bMdyHfy2W++++TI/-Tmp-//Rtmp9DqMbC
/var/folders/Qs/Qs80pcjVHlm3bMdyHfy2W++++TI/-Tmp-//Rtmp9DqMbC/tikzStringWidthCalc.tex
2>/dev/null' had status 1
15: running command '/usr/texbin/pdflatex -interaction=batchmode
-output-directory
/var/folders/Qs/Qs80pcjVHlm3bMdyHfy2W++++TI/-Tmp-//Rtmp9DqMbC
/var/folders/Qs/Qs80pcjVHlm3bMdyHfy2W++++TI/-Tmp-//Rtmp9DqMbC/tikzStringWidthCalc.tex
2>/dev/null' had status 1



On Mon, Oct 25, 2010 at 11:04 PM, Charlie Sharpsteen
<chuck at sharpsteen.net> wrote:
> HI Lorenzo,
>
> I just installed tikzDevice 0.5.2 and ran it using the versions of R and TeX
> Live provided by the Ubuntu repositories.  I was able to run through all of
> the plots in our test suite without observing the behavior you are seeing.
>  I also don't have any good ideas as to where to look for a change that may
> have caused this message.  The cumulative diff between versions 0.5.1 and
> 0.5.2 shows that we did not make any changes that directly affect the way
> metrics are calculated:
>
> http://github.com/Sharpie/RTikZDevice/compare/0.5.1...0.5.2
>
> If you have a sample of code that reproduces the behavior, I would love to
> check it out and see if I can figure out what is happening.  Otherwise, I'm
> pretty stumped as to what is causing your warning message.
>
> -Charlie
> _______________________________________________
> Tikzdevice-bugs mailing list
> Tikzdevice-bugs at lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/tikzdevice-bugs
>


More information about the Tikzdevice-bugs mailing list