Re: Re: Lyx 2.1.0 not compiling knitr.lyx
José, I substituded the Rnw (knitr) -> LaTeX (pdflatex) converter for the one you suggested, and it worked! Thank you so much! Ricardo 2014-05-22 20:15 GMT-03:00 José Matos : > On Thursday 22 May 2014 11:06:57 Ricardo Dislich wrote: > > > I tried exactly the knitr.lyx file shipped with LyX, available from the > > > menu Help -> Specific Manuals -> Knitr > > > > > > At first, LyX informed I did not have the needed converters. After I > > > defined them in Preferences, I was able to click the View button, and > then > > > got the error message you can see in the screenshot below: > > > > > > [image: Imagem inline 1] > > > > > > Ricardo > > > > It seems that you have the wrong converters. :-( > > > > What do you get when you go to > > > > Tools->Preferences->File Handling->Converters > > > > From "Rnw (knitr)" to "LaTeX (pdflatex)" > > > > The converter I have is: > > > > Rscript --verbose --no-save --no-restore $$s/scripts/lyxknitr.R $$p$$i > $$p$$o $$e $$r > > > > and I suspect that you have: > > > > python -tt $$s/lyx2lyx/lyx2lyx -c big5 $$i > $$o > > > > that seems to be the problem... > > -- > > José Abílio >
Re: Re: Lyx 2.1.0 not compiling knitr.lyx
On Thursday 22 May 2014 11:06:57 Ricardo Dislich wrote: > I tried exactly the knitr.lyx file shipped with LyX, available from the > menu Help -> Specific Manuals -> Knitr > > At first, LyX informed I did not have the needed converters. After I > defined them in Preferences, I was able to click the View button, and then > got the error message you can see in the screenshot below: > > [image: Imagem inline 1] > > Ricardo It seems that you have the wrong converters. :-( What do you get when you go to Tools->Preferences->File Handling->Converters >From "Rnw (knitr)" to "LaTeX (pdflatex)" The converter I have is: Rscript --verbose --no-save --no-restore $$s/scripts/lyxknitr.R $$p$$i $$p$$o $$e $$r and I suspect that you have: python -tt $$s/lyx2lyx/lyx2lyx -c big5 $$i > $$o that seems to be the problem... -- José Abílio
Re: Lyx 2.1.0 not compiling knitr.lyx
On Wednesday 21 May 2014 11:35:09 Ricardo Dislich wrote: > I tried the knitr help file (knitr.lyx), and it didn't work out either. I > get the following progress/debug messages: > What is the error that you get when you try the example shipped with lyx, knitr.lyx? I am asking because the error can not be the same that you reported. The knitr.lyx file has the same version as lyx 2.1 reads and writes and thus lyx2lyx is never called. -- José Abílio
Re: Lyx 2.1.0 not compiling knitr.lyx
On Wed, May 21, 2014 at 10:35 AM, Ricardo Dislich wrote: > > Dear group, > > After ugrading to Lyx 2.1.0 on Windows 7, my documents using the knitr > module stopped compiling. > > I tried the knitr help file (knitr.lyx), and it didn't work out either. I > get the following progress/debug messages: I'm guessing this is an issue with Python. I use knitr all the time and haven't seen this issue (I'm on Ubuntu though). Scott