我正在尝试汉密尔顿密码关于 WordCloud,它使用 R,在 OSX 中工作。我有最新的 XCode 和最新的R 3.1.1(XCode5 支持)已安装。
Texpad 1.4.7-1.6.0 问题
我打开 TexPad,里面有你的 tikz 文件和 tex 文件。我只编辑了那里的路径。没有编译,我看到了
为什么输出中有第一页?
然后编译时出现错误
其中日志(这里我的名字用 masi 代替)
Auto-detecting the appropriate typesetting chain...
/usr/texbin/xelatex -file-line-error -interaction=nonstopmode -synctex=1 -output-directory=/Users/masi/Dropbox/bin/.texpadtmp wordCloud.tex
This is XeTeX, Version 3.1415926-2.5-0.9999.3 (TeX Live 2013)
restricted \write18 enabled.
entering extended mode
(./wordCloud.tex
LaTeX2e <2011/06/27>
Babel <3.9j> and hyphenation patterns for 78 languages loaded.
(/usr/local/texlive/2013/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/local/texlive/2013/texmf-dist/tex/latex/base/size12.clo))
(/usr/local/texlive/2013/texmf-dist/tex/latex/geometry/geometry.sty
(/usr/local/texlive/2013/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2013/texmf-dist/tex/generic/oberdiek/ifpdf.sty)
(/usr/local/texlive/2013/texmf-dist/tex/generic/oberdiek/ifvtex.sty)
(/usr/local/texlive/2013/texmf-dist/tex/generic/ifxetex/ifxetex.sty))
(/usr/local/texlive/2013/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty)
(/usr/local/texlive/2013/texmf-dist/tex/latex/xcolor/xcolor.sty
(/usr/local/texlive/2013/texmf-dist/tex/latex/latexconfig/color.cfg)
(/usr/local/texlive/2013/texmf-dist/tex/xelatex/xetex-def/xetex.def))
(/usr/local/texlive/2013/texmf-dist/tex/latex/pgf/frontendlayer/tikz.sty
(/usr/local/texlive/2013/texmf-dist/tex/latex/pgf/basiclayer/pgf.sty
(/usr/local/texlive/2013/texmf-dist/tex/latex/pgf/utilities/pgfrcs.sty
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/utilities/pgfutil-common.te
x
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/utilities/pgfutil-common-li
sts.tex))
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/utilities/pgfutil-latex.def
(/usr/local/texlive/2013/texmf-dist/tex/latex/ms/everyshi.sty))
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/utilities/pgfrcs.code.tex))
(/usr/local/texlive/2013/texmf-dist/tex/latex/pgf/basiclayer/pgfcore.sty
(/usr/local/texlive/2013/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/2013/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/texlive/2013/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/texlive/2013/texmf-dist/tex/latex/latexconfig/graphics.cfg)))
(/usr/local/texlive/2013/texmf-dist/tex/latex/pgf/systemlayer/pgfsys.sty
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/systemlayer/pgfsys.code.tex
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/utilities/pgfkeysfiltered.c
ode.tex))
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/systemlayer/pgf.cfg)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-xetex.de
f
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-dvipdfmx
.def
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-common-p
df.def))))
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/systemlayer/pgfsyssoftpath.
code.tex)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/systemlayer/pgfsysprotocol.
code.tex))
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/basiclayer/pgfcore.code.tex
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/math/pgfmathcalc.code.tex
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/math/pgfmathutil.code.tex)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/math/pgfmathparser.code.tex
)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.code.
tex
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.basic
.code.tex)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.trigo
nometric.code.tex)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.rando
m.code.tex)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.compa
rison.code.tex)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.base.
code.tex)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.round
.code.tex)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.misc.
code.tex)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.integ
erarithmetics.code.tex)))
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/math/pgfmathfloat.code.tex)
)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepoints.co
de.tex)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathconst
ruct.code.tex)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathusage
.code.tex)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/basiclayer/pgfcorescopes.co
de.tex)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/basiclayer/pgfcoregraphicst
ate.code.tex)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretransform
ations.code.tex)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/basiclayer/pgfcorequick.cod
e.tex)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreobjects.c
ode.tex)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathproce
ssing.code.tex)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/basiclayer/pgfcorearrows.co
de.tex)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreshade.cod
e.tex)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreimage.cod
e.tex
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreexternal.
code.tex))
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/basiclayer/pgfcorelayers.co
de.tex)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretranspare
ncy.code.tex)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepatterns.
code.tex)))
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/modules/pgfmoduleshapes.cod
e.tex)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/modules/pgfmoduleplot.code.
tex)
(/usr/local/texlive/2013/texmf-dist/tex/latex/pgf/compatibility/pgfcomp-version
-0-65.sty)
(/usr/local/texlive/2013/texmf-dist/tex/latex/pgf/compatibility/pgfcomp-version
-1-18.sty))
(/usr/local/texlive/2013/texmf-dist/tex/latex/pgf/utilities/pgffor.sty
(/usr/local/texlive/2013/texmf-dist/tex/latex/pgf/utilities/pgfkeys.sty
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex)
) (/usr/local/texlive/2013/texmf-dist/tex/latex/pgf/math/pgfmath.sty
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex))
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/utilities/pgffor.code.tex
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex)))
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/frontendlayer/tikz/tikz.cod
e.tex
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/libraries/pgflibraryplothan
dlers.code.tex)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/modules/pgfmodulematrix.cod
e.tex)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/frontendlayer/tikz/librarie
s/tikzlibrarytopaths.code.tex)))
(/usr/local/texlive/2013/texmf-dist/tex/latex/psnfss/helvet.sty)
(/Users/masi/Dropbox/bin/.texpadtmp/wordCloud.aux)
(/usr/local/texlive/2013/texmf-dist/tex/latex/psnfss/ot1phv.fd)
*geometry* driver: auto-detecting
*geometry* detected driver: xetex
ABD: EveryShipout initializing macros
./wordCloud.tex:16: Undefined control sequence.
l.16 ...newcommand{\\familydefault}{\\sfdefault}\n
')
./wordCloud.tex:20: You can't use `macro parameter character #' in horizontal m
ode.
l.20 col.outer = "#
404040",
./wordCloud.tex:21: You can't use `macro parameter character #' in horizontal m
ode.
l.21 col.inner = "#
FFFFFF",
Overfull \hbox (49.61414pt too wide) in paragraph at lines 12--29
[]\OT1/phv/m/n/12 <<MakeCloud,echo=FALSE,eval=TRUE>>= set.seed(1) sup-pressMes-
sages(library(bibcloud)) sup-pressMes-sages(library(tikzDevice)) op-tions(tikzD
ocumentDeclaration
(/Users/masi/Dropbox/bin/WordCloud.tikz) [1] [5]
(/Users/masi/Dropbox/bin/.texpadtmp/wordCloud.aux) )
(see the transcript file for additional information)
Output written on /Users/masi/Dropbox/bin/.texpadtmp/wordCloud.pdf (2 page
s).
SyncTeX written on /Users/masi/Dropbox/bin/.texpadtmp/wordCloud.synctex.gz.
Transcript written on /Users/masi/Dropbox/bin/.texpadtmp/wordCloud.log.
/usr/texbin/xelatex -file-line-error -interaction=nonstopmode -synctex=1 -output-directory=/Users/masi/Dropbox/bin/.texpadtmp wordCloud.tex
This is XeTeX, Version 3.1415926-2.5-0.9999.3 (TeX Live 2013)
restricted \write18 enabled.
entering extended mode
(./wordCloud.tex
LaTeX2e <2011/06/27>
Babel <3.9j> and hyphenation patterns for 78 languages loaded.
(/usr/local/texlive/2013/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/local/texlive/2013/texmf-dist/tex/latex/base/size12.clo))
(/usr/local/texlive/2013/texmf-dist/tex/latex/geometry/geometry.sty
(/usr/local/texlive/2013/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2013/texmf-dist/tex/generic/oberdiek/ifpdf.sty)
(/usr/local/texlive/2013/texmf-dist/tex/generic/oberdiek/ifvtex.sty)
(/usr/local/texlive/2013/texmf-dist/tex/generic/ifxetex/ifxetex.sty))
(/usr/local/texlive/2013/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty)
(/usr/local/texlive/2013/texmf-dist/tex/latex/xcolor/xcolor.sty
(/usr/local/texlive/2013/texmf-dist/tex/latex/latexconfig/color.cfg)
(/usr/local/texlive/2013/texmf-dist/tex/xelatex/xetex-def/xetex.def))
(/usr/local/texlive/2013/texmf-dist/tex/latex/pgf/frontendlayer/tikz.sty
(/usr/local/texlive/2013/texmf-dist/tex/latex/pgf/basiclayer/pgf.sty
(/usr/local/texlive/2013/texmf-dist/tex/latex/pgf/utilities/pgfrcs.sty
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/utilities/pgfutil-common.te
x
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/utilities/pgfutil-common-li
sts.tex))
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/utilities/pgfutil-latex.def
(/usr/local/texlive/2013/texmf-dist/tex/latex/ms/everyshi.sty))
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/utilities/pgfrcs.code.tex))
(/usr/local/texlive/2013/texmf-dist/tex/latex/pgf/basiclayer/pgfcore.sty
(/usr/local/texlive/2013/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/2013/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/texlive/2013/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/texlive/2013/texmf-dist/tex/latex/latexconfig/graphics.cfg)))
(/usr/local/texlive/2013/texmf-dist/tex/latex/pgf/systemlayer/pgfsys.sty
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/systemlayer/pgfsys.code.tex
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/utilities/pgfkeysfiltered.c
ode.tex))
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/systemlayer/pgf.cfg)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-xetex.de
f
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-dvipdfmx
.def
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-common-p
df.def))))
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/systemlayer/pgfsyssoftpath.
code.tex)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/systemlayer/pgfsysprotocol.
code.tex))
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/basiclayer/pgfcore.code.tex
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/math/pgfmathcalc.code.tex
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/math/pgfmathutil.code.tex)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/math/pgfmathparser.code.tex
)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.code.
tex
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.basic
.code.tex)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.trigo
nometric.code.tex)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.rando
m.code.tex)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.compa
rison.code.tex)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.base.
code.tex)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.round
.code.tex)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.misc.
code.tex)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.integ
erarithmetics.code.tex)))
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/math/pgfmathfloat.code.tex)
)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepoints.co
de.tex)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathconst
ruct.code.tex)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathusage
.code.tex)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/basiclayer/pgfcorescopes.co
de.tex)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/basiclayer/pgfcoregraphicst
ate.code.tex)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretransform
ations.code.tex)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/basiclayer/pgfcorequick.cod
e.tex)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreobjects.c
ode.tex)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathproce
ssing.code.tex)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/basiclayer/pgfcorearrows.co
de.tex)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreshade.cod
e.tex)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreimage.cod
e.tex
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreexternal.
code.tex))
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/basiclayer/pgfcorelayers.co
de.tex)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretranspare
ncy.code.tex)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepatterns.
code.tex)))
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/modules/pgfmoduleshapes.cod
e.tex)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/modules/pgfmoduleplot.code.
tex)
(/usr/local/texlive/2013/texmf-dist/tex/latex/pgf/compatibility/pgfcomp-version
-0-65.sty)
(/usr/local/texlive/2013/texmf-dist/tex/latex/pgf/compatibility/pgfcomp-version
-1-18.sty))
(/usr/local/texlive/2013/texmf-dist/tex/latex/pgf/utilities/pgffor.sty
(/usr/local/texlive/2013/texmf-dist/tex/latex/pgf/utilities/pgfkeys.sty
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex)
) (/usr/local/texlive/2013/texmf-dist/tex/latex/pgf/math/pgfmath.sty
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex))
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/utilities/pgffor.code.tex
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex)))
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/frontendlayer/tikz/tikz.cod
e.tex
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/libraries/pgflibraryplothan
dlers.code.tex)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/modules/pgfmodulematrix.cod
e.tex)
(/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/frontendlayer/tikz/librarie
s/tikzlibrarytopaths.code.tex)))
(/usr/local/texlive/2013/texmf-dist/tex/latex/psnfss/helvet.sty)
(/Users/masi/Dropbox/bin/.texpadtmp/wordCloud.aux)
(/usr/local/texlive/2013/texmf-dist/tex/latex/psnfss/ot1phv.fd)
*geometry* driver: auto-detecting
*geometry* detected driver: xetex
ABD: EveryShipout initializing macros
./wordCloud.tex:16: Undefined control sequence.
l.16 ...newcommand{\\familydefault}{\\sfdefault}\n
')
./wordCloud.tex:20: You can't use `macro parameter character #' in horizontal m
ode.
l.20 col.outer = "#
404040",
./wordCloud.tex:21: You can't use `macro parameter character #' in horizontal m
ode.
l.21 col.inner = "#
FFFFFF",
Overfull \hbox (49.61414pt too wide) in paragraph at lines 12--29
[]\OT1/phv/m/n/12 <<MakeCloud,echo=FALSE,eval=TRUE>>= set.seed(1) sup-pressMes-
sages(library(bibcloud)) sup-pressMes-sages(library(tikzDevice)) op-tions(tikzD
ocumentDeclaration
(/Users/masi/Dropbox/bin/WordCloud.tikz) [1] [6]
(/Users/masi/Dropbox/bin/.texpadtmp/wordCloud.aux) )
(see the transcript file for additional information)
Output written on /Users/masi/Dropbox/bin/.texpadtmp/wordCloud.pdf (2 page
s).
SyncTeX written on /Users/masi/Dropbox/bin/.texpadtmp/wordCloud.synctex.gz.
Transcript written on /Users/masi/Dropbox/bin/.texpadtmp/wordCloud.log.
~
~
~
尤其是
TexPad 1.6.0 中有一个与 R 3.1.1 兼容的 bug。以前版本的 TexPad 也存在同样的 bug。我使用的是 1.4.7。Duncan 的回答
确认这一点的最简单方法是您是否可以向我们发送一个文件?Texpad 在 1.6.x 中对 Knitr 的支持存在问题,因此我们在 1.7.0 中从头重写了它。如果我们有您的代码示例,我们可以将其添加到测试套件中,并确保它在 1.7.0 中运行
我向开发人员报告了此错误,并附上了此帖子的链接和必要的文件。测试用例将包含在 1.7.0 中,因此 Texpad 1.7.0 和 R 不会出现这样的问题。
你怎样在 OSX 中编译这个东西?不要使用 TexPad 1.6.0。只需在终端中运行 pdflatex,而不是在 OSX 中;使用 Linux。此问题将在 1.7.0 测试期开始后得到解决。
该问题发生在 LaTeX 阶段之前,当时 R 正在处理中,这是 R 安装的问题——。
Pdflatex 一切正常,但想要自己的 WordCloud 的 R 代码
问题是我首先不知道输出结果会是什么样的。 这里的 R 代码应该如何与 LaTeX 配合使用?哪部分是 R 代码?你能评论并解释一下吗?
我跑
pdflatex wordCloud.tex
我得到了这个pdf 文件和这个日志档案。它返回的文件与汉密尔顿的相同。
如何制作特定于我的文件夹中的文件的输出? 我认为我需要运行一些词云.tikz再次。
我认为我的尝试中这个位置是错误的:博士学位论文,因为我当前的文档中没有参考书目。 您如何解决这个问题?您还可以使用哪些文件来拾取单词?
Bibcloud 和 OSX Yosemite 中的 knitr 1.7(其他版本也适用)
问题是安装本地包比云和tikz设备。
install.packages("tikzDevice", dependencies = TRUE)
我也在 R 控制台中运行
knit("/Users/masi/Dropbox/bin/wordCloud/WordCloud.Rnw")
一切都还好
processing file: /Users/masi/Dropbox/bin/wordCloud/WordCloud.Rnw
|...................... | 33%
|........................................... | 67%
|.................................................................| 100%
ordinary text without R code
output file: WordCloud.tex
但是当我在终端中编译 tex 文件时
pdflatex WordCloud.tex
一切都编译通过,但有一些警告
This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013)
restricted \write18 enabled.
entering extended mode
...
Output written on WordCloud.pdf (2 pages, 30963 bytes).
Transcript written on WordCloud.log.
但是当我现在查看文件时,我发现包中仍然存在错误tikz设备
## Error in library(bibcloud): there is no package called ’bibcloud’
## Error in library(tikzDevice): there is no package called ’tikzDevice’
## Error in withCallingHandlers(expr, message = function(c) invokeRestart("muffleMessage")): could not find function "cloud"
汉密尔顿的包裹比云不适用于 R 3.1.1。尝试安装时出现此错误。