RE: LyX cannot handle '$' sign in Sweave code chunk

2012-06-03 Thread Lam Phung Khanh
Scott Kostyshak; lyx-users@lists.lyx.org Subject: Re: LyX cannot handle '$' sign in Sweave code chunk Please read the manual https://github.com/downloads/yihui/lyx/sweave.pdf to help you diagnose the problem; you should see the R error in the LyX messages. Regards, Yihui -- Yihui Xie Phone: 5

Re: LyX cannot handle '$' sign in Sweave code chunk

2012-06-01 Thread Yihui Xie
me; however, I intend to try > it in near future. > > Best regards, > > Lam PK > > -Original Message- > From: Scott Kostyshak [mailto:skost...@princeton.edu] > Sent: Thursday, May 31, 2012 11:36 AM > To: Lam Phung Khanh; lyx-users@lists.lyx.org > Subject: RE

RE: LyX cannot handle '$' sign in Sweave code chunk

2012-05-31 Thread Scott Kostyshak
From: Lam Phung Khanh [la...@oucru.org] Sent: Thursday, May 31, 2012 2:37 AM >Thank you very much for your response. Sorry because I did not check >carefully my R code. An easy way to check your R code is to export it from LyX by file > export > R/S code >I've heard about knitr several weeks ag

RE: LyX cannot handle '$' sign in Sweave code chunk

2012-05-30 Thread Lam Phung Khanh
al Message- From: Scott Kostyshak [mailto:skost...@princeton.edu] Sent: Thursday, May 31, 2012 11:36 AM To: Lam Phung Khanh; lyx-users@lists.lyx.org Subject: RE: LyX cannot handle '$' sign in Sweave code chunk From: Lam Phung Khanh [la...@oucru.org] Sent: Wednesday, May 30, 2012 10:54

RE: LyX cannot handle '$' sign in Sweave code chunk

2012-05-30 Thread Scott Kostyshak
From: Lam Phung Khanh [la...@oucru.org] Sent: Wednesday, May 30, 2012 10:54 PM Note that I used knitr to test this, not Sweave. knitr is newer, has more features, and can do everything that Sweave can and a lot more. To use it, add the module Rnw (knitr) instead of Sweave. Is there a reason you

LyX cannot handle '$' sign in Sweave code chunk

2012-05-30 Thread Lam Phung Khanh
Dear all, I used document class 'article' with Sweave module added in LyX version 2.0.3 to write a short Sweave document: Hi ! <<>>= a <- c(1:10) b <- c(11:20) d <- cbind(a, b) d$a @ I got error: "LyX: cannot convert file" when compiled it. My suspect is LyX cannot handle the '$' sign in Sweav