r - LyX 2.1.1 fails to compile knitr-manual.lyx -
lyx 2.1.1 fails compile knitr-manual.lyx , knitr-graphics.lyx (currently installed knitr version 1.6).
the error not (i.e. lyx: cannot convert file
-- see screenshot). related file-permission bits? how should go it?
maybe of interest,
sys.getlocale() [1] "lc_ctype=en_us.utf-8;lc_numeric=c;lc_time=en_us.utf-8;lc_collate=c;lc_monetary=en_us.utf-8;lc_messages=en_us.utf-8;lc_paper=en_us.utf-8;lc_name=c;lc_address=c;lc_telephone=c;lc_measurement=en_us.utf-8;lc_identification=c"
update
from message pane, there indeed error line:
12:28:16.235: quitting lines 93-93 (/tmp/lyx_tmpdir.gwilgtom2017/lyx_tmpbuf1/knitr-graphics.rnw) 12:28:16.238: error in loadnamespace(name) : there no package called 'cairo' 12:28:16.241: calls: knit ... trycatch -> trycatchlist -> trycatchone -> <anonymous> 12:28:16.244: 12:28:16.247: execution halted
no cairo? mean in contect of knitr , lyx/latex?
r missing "cairo" package. , "tikzdevice" package well. installing two, via
install.packages("cairo", dep = true) install.packages("tikzdevice", dep = true)
resolved issues. @ least, there no compilation error related missing packages anymore.
Comments
Post a Comment