R Cmd Check Latex Error: Fatal PDFlatex - Gui Framework Cannot Be Initialized

Error generating .pdf using knitr to PDF in RStudio

According to the comments, the answer posted at https://tex.stackexchange.com/a/27141 solved the issue.

The relevant part:

Remedy: start MiKTeX Options and choose either Yes or No (but not "Ask
me first") for the option "Install missing packages on-the-fly"

inconsolata missing to build R vignette

Installing texlive-fonts-extra should take care of it.

You can also (though probably not recommented) tell Rd not to use inconsolata. Just change:

\DeclareOption{inconsolata}{\setboolean{Rd@use@inconsolata}{true}}

to

\DeclareOption{inconsolata}{\setboolean{Rd@use@inconsolata}{false}}

in your Rd.sty file. On my installation it is at :

/usr/share/R/share/texmf/tex/latex/Rd.sty

but a

locate Rd.sty

should find it on any system.



Related Topics



Leave a reply



Submit