访客 *LC Zhang* @ 2016-01-16 06:54:45 写道:
错误显示如下:
15:47:04.114: Previewing ...
15:47:04.115: (buffer-view: ⌘R)
15:47:04.393: Rscript --verbose --no-save --no-restore "/Applications/http://LyX.app/Contents/Resources/scripts/lyxknitr.R" "/var/folders/5z/6p_kh9b51s7cps7y2_g_4v_h0000gn/T/lyx_tmpdir.WOorMcYAA826/lyx_tmpbuf0/""newfile1.Rnw" "/var/folders/5z/6p_kh9b51s7cps7y2_g_4v_h0000gn/T/lyx_tmpdir.WOorMcYAA826/lyx_tmpbuf0/""newfile1.tex" ISO-8859-15 "/Users/behlab/Desktop/"
15:47:04.410: running
15:47:04.411: '/Library/Frameworks/R.framework/Versions/3.2/Resources/bin/R --slave --no-restore --no-save --no-restore --file=/Applications/http://LyX.app/Contents/Resources/scripts/lyxknitr.R --args /var/folders/5z/6
15:47:04.411: p_kh9b51s7cps7y2_g_4v_h0000gn/T/lyx_tmpdir.WOorMcYAA826/lyx_tmpbuf0/newfile1.Rnw /var/folders/5z/6p_kh9b51s7cps7y2_g_4v_h0000gn/T/lyx_tmpdir.WOorMcYAA826/lyx_tmpbuf0/newfile1.tex ISO-8859-15 /Users/b
15:47:04.411: ehlab/Desktop/'
15:47:04.411:
15:47:05.940:
15:47:05.941:
15:47:05.941: processing file: /var/folders/5z/6p_kh9b51s7cps7y2_g_4v_h0000gn/T/lyx_tmpdir.WOorMcYAA826/lyx_tmpbuf0/newfile1.Rnw
15:47:06.281: Warning: namespace 'formatR' is not available and has been replaced
15:47:06.281: by .GlobalEnv when processing object 'silent'
15:47:06.282:
|
| | 0%
|
15:47:06.298:
|...................... | 33%
15:47:06.299: ordinary text without R code
15:47:06.299:
15:47:06.299:
|
|........................................... | 67%
15:47:06.299: label: tile
15:47:06.492: Quitting from lines 11-13 (/var/folders/5z/6p_kh9b51s7cps7y2_g_4v_h0000gn/T/lyx_tmpdir.WOorMcYAA826/lyx_tmpbuf0/newfile1.Rnw)
15:47:06.493: Error in loadNamespace(name) : there is no package called 'highr'
15:47:06.493: Calls: knit ... tryCatch -> tryCatchList -> tryCatchOne ->
15:47:06.493:
15:47:06.493: Execution halted
support/Systemcall.cpp (292): Systemcall: 'Rscript --verbose --no-save --no-restore "/Applications/http://LyX.app/Contents/Resources/scripts/lyxknitr.R" "/var/folders/5z/6p_kh9b51s7cps7y2_g_4v_h0000gn/T/lyx_tmpdir.WOorMcYAA826/lyx_tmpbuf0/""newfile1.Rnw" "/var/folders/5z/6p_kh9b51s7cps7y2_g_4v_h0000gn/T/lyx_tmpdir.WOorMcYAA826/lyx_tmpbuf0/""newfile1.tex" ISO-8859-15 "/Users/behlab/Desktop/"' finished with exit code 1
Error: Cannot convert file
An error occurred while running:
Rscript --verbose --no-save --no-restore
"/Applications/http://LyX.app/Contents/Resources/scripts/lyxknitr.R"
"/var/folders/5z/6p_kh9b51s7cps7y2_g_4v_h0000gn/T/lyx_tmpdir.WOorMcYAA826/ly...
15:47:13.397: Error while exporting format: PDF (pdflatex)
15:47:22.404: (dialog-toggle progress)
请问改怎么破?谢谢。另外,我在mac air上用的时候,没有这个问题。