Error in Lyx Sweave (Noweb)

2011-05-13 Thread iftikhar ahmad
Hi, When I tried to include an R plot with the following code into article(Noweb) in LyX 2.0.0 fig=TRUE= library(graphics) pairs(iris) @ I got the following error message: {C:/Users/MYaseen208/AppData/Local/MiKTeX/2.9/pdftex/config/pdftex.map}] ! Missing $inserted. inserted text                

Re: Error in Lyx Sweave (Noweb)

2011-05-13 Thread Yihui Xie
Hi, You should not use the document class article (Noweb). Since LyX 2.0, you can use the Sweave *module* with any document classes, e.g. article. It seems you are using Windows, so you can take a look at the example sweave.lyx under the examples directory (somewhere like C:\Program

Re: Error in Lyx Sweave (Noweb)

2011-05-13 Thread Yihui Xie
From: Yihui Xie x...@yihui.name To: iftikhar ahmad ifti_ch2...@yahoo.com Cc: yx-de...@lists.lyx.org yx-de...@lists.lyx.org; lyx-users@lists.lyx.org lyx-users@lists.lyx.org Sent: Friday, May 13, 2011 7:22 PM Subject: Re: Error in Lyx Sweave (Noweb) Hi, You

Error in Lyx Sweave (Noweb)

2011-05-13 Thread iftikhar ahmad
Hi, When I tried to include an R plot with the following code into article(Noweb) in LyX 2.0.0 fig=TRUE= library(graphics) pairs(iris) @ I got the following error message: {C:/Users/MYaseen208/AppData/Local/MiKTeX/2.9/pdftex/config/pdftex.map}] ! Missing $inserted. inserted text                

Re: Error in Lyx Sweave (Noweb)

2011-05-13 Thread Yihui Xie
Hi, You should not use the document class article (Noweb). Since LyX 2.0, you can use the Sweave *module* with any document classes, e.g. article. It seems you are using Windows, so you can take a look at the example sweave.lyx under the examples directory (somewhere like C:\Program

Re: Error in Lyx Sweave (Noweb)

2011-05-13 Thread Yihui Xie
From: Yihui Xie x...@yihui.name To: iftikhar ahmad ifti_ch2...@yahoo.com Cc: yx-de...@lists.lyx.org yx-de...@lists.lyx.org; lyx-users@lists.lyx.org lyx-users@lists.lyx.org Sent: Friday, May 13, 2011 7:22 PM Subject: Re: Error in Lyx Sweave (Noweb) Hi, You

Error in Lyx Sweave (Noweb)

2011-05-13 Thread iftikhar ahmad
Hi, When I tried to include an R plot with the following code into article(Noweb) in LyX 2.0.0

Re: Error in Lyx Sweave (Noweb)

2011-05-13 Thread Yihui Xie
Hi, You should not use the document class "article (Noweb)". Since LyX 2.0, you can use the Sweave *module* with any document classes, e.g. article. It seems you are using Windows, so you can take a look at the example sweave.lyx under the examples directory (somewhere like C:\Program

Re: Error in Lyx Sweave (Noweb)

2011-05-13 Thread Yihui Xie
.lyx.org>; > "lyx-users@lists.lyx.org" <lyx-users@lists.lyx.org> > Sent: Friday, May 13, 2011 7:22 PM > Subject: Re: Error in Lyx Sweave (Noweb) > > Hi, > > You should not use the document class "article (Noweb)". Since LyX > 2.0, you can use