On Sat, Oct 20, 2012 at 6:17 PM, Yihui Xie <x...@yihui.name> wrote: > I think it should be easy to ignore the encoding argument if it does > not exist, but the problem that confuses me is why importing Rnw is > involved with lyxsweave.R or lyxknitr.R. I mean Rnw should be treated > as a normal TeX document (the R code should not be executed through > Sweave or knitr), except that the code chunks (between <<>>= and @) > should be treated differently, e.g. as ERT.
You're right. Now I understand what JMarc was saying -- this converter should not be used for importing. This is the problem. Scott