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

a1a*_*1an 6 pdf installation debian r

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

a1a*_*1an 12

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

sudo apt-get install texlive
Run Code Online (Sandbox Code Playgroud)

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

configure: WARNING: neither inconsolata.sty nor zi4.sty found: PDF vignettes and package manuals will not be rendered optimally
Run Code Online (Sandbox Code Playgroud)

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

sudo apt-get install texlive-fonts-extra
Run Code Online (Sandbox Code Playgroud)