This repository provides some (unofficial) support files for using R with LyX.
lyxknitr.R
is for the knitr package (it has already been included in official LyX, so you do not actually need it)
Aside from the official manual of Sweave in LyX, which is an example file itself, I have a few other examples demonstrating how to use Sweave with beamer in LyX, and how to use knitr.
add-R-path-win.R
is a dirty R script to help Windows users who are reluctant to learn what is thePATH
variable add the bin path of R to thePATH
variable of the system (use with care; I have no guarantee).
Usually I do not put binary files under version control (in GIT), so I upload them separately at https://bitbucket.org/stat/lyx/downloads
I'd love to include more contributions from LyX/Sweave users; please feel free to email me or open an issue here if you have any requests, comments or questions.