本文介绍了Lyx找不到编织模块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在从编织迁移/分支到knitr,并且可以运行@yihui的最小示例,但在使其与Lyx(2.06)一起运行时遇到了麻烦.我收到消息The module knitr has been requested by this document but has not been found in the list of available modules.

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.

我的PATH是/usr/bin/Rscript(每个which Rscript,根据@yihui的建议),以便可见,但是lyx似乎看不到它.

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.

作为大型系统升级(从Mint 13到Mint 15)的一部分,我今天也确实升级到了R版本3.0.1(Good Sport),因此与我开始使用Lyx的时间恰好相符,因此可能还会有其他事情发生同时.我确实假设R 2.15和3.0.1具有相同的PATH(如上所述,当前为/usr/bin/Rscript),并且Rstudio和Lyx不在寻找不同的安装吗?

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.

Exit LyX, remove (back-up if desired) ~/.lyx, and start LyX.

这篇关于Lyx找不到编织模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-15 19:32