[R] Bugreport on integration of Sweave and latex beamer

2007-08-31 Thread Ajay Shah
I think I have isolated a problem with integration between Sweave and beamer. Could you please see the file: http://www.mayin.org/ajayshah/tmp/bugdemo.Rnw Unfortunately, it uses some of my internal libraries, so you can't run it. When I put it through Sweave, I get:

Re: [R] Bugreport on integration of Sweave and latex beamer

2007-08-31 Thread Duncan Murdoch
Ajay Shah wrote: I think I have isolated a problem with integration between Sweave and beamer. Sweave makes a lot of use of verbatim environments, and beamer doesn't like those. You need to declare that a slide contains verbatim or you get errors like that. I'm sure there are other ways

Re: [R] Bugreport on integration of Sweave and latex beamer

2007-08-31 Thread Friedrich Schuster
Hi, I used the following Sweave code for text output (worked for me): --- code \documentclass{beamer} \usepackage{beamerthemesplit} \usepackage[latin1]{inputenc} \usepackage{ngerman} \usepackage{psfrag} \usepackage{graphicx} \setbeamercovered{transparent} \SweaveOpts{echo=true}

Re: [R] Bugreport on integration of Sweave and latex beamer

2007-08-31 Thread Ajay Shah
Sweave makes a lot of use of verbatim environments, and beamer doesn't like those. You need to declare that a slide contains verbatim or you get errors like that. I'm sure there are other ways to do this, but one that works is to use \begin{frame}[containsverbatim] at the start of