I used an early version (around 0.5) of tikzDevice on my machine awhile back
without any problems. With the latest version, I get errors associated with
accessing log files stored in tempdir (see below). tikz generates output,
but from only the first plot command and excludes all text. Any idea what
I'm doing wrong?
Thanks,
Audrey
> require(tikzDevice)
Loading required package: tikzDevice
Loading required package: filehash
filehash: Simple key-value database (2.2 2011-07-21)
tikzDevice: A Device for R Graphics Output in PGF/TikZ Format
(v0.6.1-35-983f374)
Checking for a LaTeX compiler...
A working LaTeX compiler was found by checking:
The PATH using the command pdflatex
Global option tikzLatex set to:
C:\texlive\2011\bin\win32\pdflatex.exe
pdfTeX 3.1415926-2.3-1.40.12 (Web2C 2011)
kpathsea version 6.0.1
A working XeLaTeX compiler was found by checking:
The PATH using the command xelatex
Global option tikzXelatex set to:
C:\texlive\2011\bin\win32\xelatex.exe
XeTeX 3.1415926-2.3-0.9997.5 (Web2C 2011)
kpathsea version 6.0.1
> getLatexCharMetrics(65)
Creating temporary TikZ metrics dictionary at:
C:\DOCUME~1\Audrey\LOCALS~1\Temp\RtmpOB1r3y/tikzMetricsDictionary
Error in file(texLog, "r") : cannot open the connection
In addition: Warning message:
In file(texLog, "r") :
cannot open file
'C:\DOCUME~1\Audrey\LOCALS~1\Temp\RtmpOB1r3y/tikzStringWidthCalc.log': No
such file or directory
> sessionInfo()
R version 2.13.1 (2011-07-08)
Platform: i386-pc-mingw32/i386 (32-bit)
locale:
[1] LC_COLLATE=English_United States.1252
[2] LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] tikzDevice_0.6.2 filehash_2.2
It looks like pdflatex is not writing out a log file for some reason. No
idea why this is happening---perhaps it is related to TeX Live 2011 in some
way. The temporary directory is definitely writable as a metrics dictionary
was created. Can't say for sure what is going as I have only ever used
MikTeX to do typesetting on Windows.
Unfortunately I am in the middle of writing a paper at the moment, so it is
difficult for me to rip MikTeX out and replace it with TeX Live to try and
reproduce this.
-Charlie
Audrey
> _______________________________________________
> Tikzdevice-bugs mailing list
> Tikzdevice-b...@lists.r-forge.r-project.orghttps://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/tikzdevi...
_______________________________________________
Tikzdevice-bugs mailing list
Tikzdev...@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/tikzdevice-bugs