简体   繁体   中英

Lyx cannot find knitr module

I am migrating/branching from sweave to knitr and can run @yihui's minimal example in Rstudio but am having trouble making it run with Lyx (2.06). I get the message The module knitr has been requested by this document but has not been found in the list of available modules.

My PATH is /usr/bin/Rscript (per which Rscript , as per @yihui's suggestion here ) so that appears visible, but lyx doesn't seem to see it.

I also did upgrade to R version 3.0.1 (Good Sport) today as a part of a larger system upgrade (Mint 13 to Mint 15), thus coinciding with when I started using Lyx so there may be other stuff going on at the same time. I do assume that R 2.15 and 3.0.1 have the same PATH (as noted, currently /usr/bin/Rscript ) and that Rstudio and Lyx are not looking for different installations?

退出LyX,删除(如果需要,请备份) ~/.lyx ,然后启动LyX。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM