Question

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?

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top