Re: Error in Lyx Sweave (Noweb)

2011-05-13 Thread Yihui Xie
ram file and log file. Please have a look. > Regards, > Iftikhar Ahmad > > From: Yihui Xie > To: iftikhar ahmad > Cc: "yx-de...@lists.lyx.org" ; > "lyx-users@lists.lyx.org" > Sent: Friday, May 13, 2011 7:22 PM > Subject: Re: Error in Lyx

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 Files\LyX20

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 <>= library(graphics) pairs(iris) @ I got the following error message: {C:/Users/MYaseen208/AppData/Local/MiKTeX/2.9/pdftex/config/pdftex.map}] ! Missing $inserted.                 $ l.146 ...ir.Hp596