Please read section 4 of the manual and report more information:
https://github.com/downloads/yihui/lyx/sweave.pdf otherwise it is hard
to know what is exactly is the "failure".

Regards,
Yihui
--
Yihui Xie <xieyi...@gmail.com>
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA


On Thu, Jul 26, 2012 at 9:36 AM, Hobbs,Tom <tom.ho...@colostate.edu> wrote:
> Hello--
>
> I have a mysterious problem.  All of the documents that I created including
> Sweave code using lyx 2.0 fail to compile when I use lyx 2.03. I am running
> lyx using Mac OS Lion.  I have several large documents with lots of Sweave
> code, so until I get this worked out, I won't able to upgrade.
>
> Even the most simple Sweave example taken from the Sweave manual fails to
> run under my 2.03 installation, i.e.:
>
> \SweaveOpts{echo=FALSE}   %turns off (FALSE) or on (TRUE) r code in output
> \SweaveOpts{keep.source=TRUE}  %leaves comments in r code
> \setkeys{Gin}{width=6 in}
> Start
> <<a>>=
> data ( airquality )
> names(airquality)[4]="Temp"
> k=kruskal.test ( Ozone ~ Month , data = airquality )
> }
> @
>
> The italics are the chunk.
>
> I would be grateful for any ideas about this problem.
>
> My best,
>
> Tom Hobbs
>
>
>
>
>

Reply via email to