如何在MikTeX中获取pgfSweave软件包例如当前的PGF的依赖关系?

问题描述

| 我在LaTeX文档中安装了用于颜色语法的“ 0”包,但是当涉及LaTeX依赖项时我就搁浅了。我已经通过MikTeX的ѭ2安装了ѭ1软件包,并相信它是最新的(我在MiKTeX安装文件夹中的package文件夹中转了一圈,但没有看到任何版本号)。我想念什么?
> 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~2\\MIKTEX~1.9\\miktex\\bin\\pdflatex.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~2\\MIKTEX~1.9\\miktex\\bin\\pdflatex.exe -interaction=batchmode -output-directory C:\\Users\\romunov\\AppData\\Local\\Temp\\Rtmply4jAb test-for-pgf.tex\' had status 1 
Error: package/namespace load failed for \'pgfSweave\'
    

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)