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
How to Simultaneously Apply Color/Shape/Size in a Scatter Plot Using Plotly
Search for Corresponding Node in a Regression Tree Using Rpart
Keep All Plot Components Same Size in Ggplot2 Between Two Plots
Fitting Logarithmic Curve in R
How to Control Label Color Depending on Fill Darkness of Bars
Subtract Values in One Dataframe from Another
How to Make Shinyapp to Use Environmental Variables When Deployed on the Web
Divide All Columns by a Chosen Column Using Mutate_All
Calculating Standard Deviation Across Rows
Error Connecting to Azure Blob Storage API from R
Bold Formatting for Significant Values in a Rmarkdown Table
R - Set Execution Time Limit in Loop
Dplyr Pipes - How to Change the Original Dataframe
Gradient Breaks in a Ggplot Stat_Bin2D Plot
How to Read the Files in a Directory in Sorted Order Using R
How to Cache Data in Shiny Server
Using Both Color and Size Attributes in Hexagon Binning (Ggplot2)