
Untitled
By: a guest on
Jun 22nd, 2012 | syntax:
None | size: 1.42 KB | hits: 12 | expires: Never
How do I get the dependencies for the pgfSweave package (e.g. a current PGF) in MikTeX?
> library(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: highlight
Loading required package: tools
Loading required package: codetools
Loading required package: parser
Loading required package: Rcpp
Loading required package: optparse
Loading required package: getopt
Loading required package: formatR
tikzDevice: A Device for R Graphics Output in PGF/TikZ Format (v0.5.3)
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:PROGRA~2MIKTEX~1.9miktexbinpdflatex.exe
MiKTeX-pdfTeX 2.9.4052 (1.40.11) (MiKTeX 2.9)
Copyright (C) 1982 D. E. Knuth, (C) 1996-2006 Han The Thanh
Error : .onLoad failed in loadNamespace() for 'pgfSweave', details:
call: requirePGFVersion("2.10")
error: PGF >= 2.10 is required to use pgfSweave
In addition: Warning message:
running command 'C:PROGRA~2MIKTEX~1.9miktexbinpdflatex.exe -interaction=batchmode -output-directory C:UsersromunovAppDataLocalTempRtmply4jAb test-for-pgf.tex' had status 1
Error: package/namespace load failed for 'pgfSweave'
documentclass{article}
usepackage{tikz}
begin{document}
pgfversion
end{document}