在Linux上安装R:configure:警告:您无法构建R版手册的PDF版本

问题描述 投票:6回答:1

在Debian GNU / Linux 8.8(jessie)上配置R时,我收到了上面的警告。是否应该安装哪些包以解决问题并将手册构建为PDF?

r pdf installation debian
1个回答
10
投票

一种可能的解决方案是安装LaTeX:

sudo apt-get install texlive

这样可以生成PDF,但会打开缺少的sty文件的警告:

configure: WARNING: neither inconsolata.sty nor zi4.sty found: PDF vignettes and package manuals will not be rendered optimally

要解决此问题,请将额外字体包安装到texlive

sudo apt-get install texlive-fonts-extra
© www.soinside.com 2019 - 2024. All rights reserved.