Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing R on Linux: configure: WARNING: you cannot build PDF versions of the R manuals

While configuring R on Debian GNU/Linux 8.8 (jessie) I am getting the warning above. Any ideas which package should be installed to solve the issue and have the manuals build as PDF?

like image 229
a1an Avatar asked Jun 07 '17 09:06

a1an


2 Answers

A possible solution is to install LaTeX:

sudo apt-get install texlive

This enables production of PDF but leaves a warning on missing sty files open:

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

To solve the issue, install the extra fonts package to texlive

sudo apt-get install texlive-fonts-extra
like image 124
a1an Avatar answered Nov 05 '22 21:11

a1an


On Fedora:

sudo dnf install texlive-inconsolata

This will install the inconsolata font, which is the font that R uses for the manual. See Rd.sty.

like image 33
robertspierre Avatar answered Nov 05 '22 20:11

robertspierre