Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
由于 R (2.15.1>3.0.0) 的升级,在 file.Rhtml 和 Lyx 上使用 knitr 时出现错误。knitr 的版本是 1.1。
错误信息是:
Erreur dans sum(figs) : 'type' (list) de l'argument incorrect Calls: knit ... <Anonymous> -> process_group.block -> call_block -> block_exec
有什么办法解决这个问题吗?
阿兰
更新:knitr 1.2 现在在CRAN上,其中已修复此问题。
我想我已经在开发版中解决了这个问题,很快就会在 CRAN 上。现在,请尝试
install.packages('knitr', repos = 'http://www.rforge.net/', type = 'source')