Font family specified by extrafont in ggplot halts execution of knitr

33 views
Skip to first unread message

Edward Wallace

unread,
May 9, 2015, 11:00:13 AM5/9/15
to kn...@googlegroups.com
Reproducible example in .Rnw and .pdf format attached.
Test_Font_Problem.pdf
Test_Font_Problem.Rnw

Edward Wallace

unread,
May 9, 2015, 11:01:11 AM5/9/15
to kn...@googlegroups.com
Also: I didn't have this problem until updating my R/Rstudio/packages a couple of weeks ago, before that font specification was fine.

Edward Wallace

unread,
May 21, 2015, 6:15:38 PM5/21/15
to kn...@googlegroups.com
Finally found the culprit: after upgrading R and the extrafont package, I needed to re-run 
font_import()
That fixed the issue.

What made this challenging is that it only cause problems with some graphics devices with Arial specified: only some of the grid package and pdf.
png and cairoPpdf were ok.
Reply all
Reply to author
Forward
0 new messages