search for: containsverbatim

Displaying 8 results from an estimated 8 matches for "containsverbatim".

2013 Feb 09
1
Swaeve, Beamer and \alt
...E>>= 2+2 @ } \end{frame} I get the error message: ! FancyVerb Error: Extraneous input `> 2+2 \end {Sinput} \end {Schunk} ' between \begin{Sinput}[ <key=value>] and line end . \FV at Error ... {FancyVerb Error: \space \space #1 } which cannot be fixed using the fragile or containsverbatim options for the frame. Thanks for any help, Jarrod -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
2006 Aug 06
1
Beamer and Sweave
Dear R-helpers, Here is a minimal .Rnw file which shows that builds do not work in frames that contain chunks of verbatim code: \documentclass[]{beamer} \author{} \date{} \title{Title} \begin{document} \frame[containsverbatim]{\frametitle{Here the build doesn't work} \begin{enumerate}[<+->] \item A \item \alert{B} \item C \end{enumerate} <<generateIQ>>= iq <- c(96, 102, 104, 104, 108, 110) @ } \frame{\frametitle{Here it does} \begin{enumerate}[<+->] \item A \item \alert{B} \item C...
2011 Apr 09
1
Trouble with Sweave and Beamer
Dear All, I am running Debian testing on my box and I installed latex and R from the standard repositories. I am trying my hands at sweave, but somehow I am experiencing problems (I am trying to use beamer and Sweave). Please see the snippet at the end of the email and saved as report.Rnw. When I run the command $ R CMD Sweave report.Rnw Writing to file report.tex Processing code chunks ...
2007 Aug 31
2
Bugreport on integration of Sweave and latex beamer
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: http://www.mayin.org/ajayshah/tmp/bugdemo.tex which is, of course, a generic latex file which you can read and
2008 Apr 06
3
[OT] Typesetting / highlighting R code in Latex
Using Latex and the beamer class, I would like to highlight code snippets. Does anybody know a suitable 'preprocessor' or 'filter' for R (and/or C/C++) code ? I have been including it in simple \begin{verbatim} ... \end{verbatim} and I know there is a better way -- in fact I saw it used a while back in some package I looked at. And I didn't write that down... What I am
2010 Aug 20
3
Has anyone used Sweave with the Beamer poster macro for Latex ?
Hello, I'm trying to make a poster in Latex using the beamer poster macro (http://www-i6.informatik.rwth-aachen.de/~dreuw/latexbeamerposter.php), and use Sweave to add in R output. This works fine for adding graphics and tables, but if I want to put code in, the file fails to build in Latex. My Rnw file looks like \documentclass[final,hyperref={pdfpagelabels=false}]{beamer}
2011 Apr 15
1
Sweave and Slides (Beamer)
...code chunk labeled "paragraphs" which I have included at the bottom of this message. (Of course I also have Sweave's keep.source option set to TRUE.) Then I do something like the following to spread the "paragraphs" of output across two slides in this case: \begin{frame}[containsverbatim,allowframebreaks] <<>>= AC.AM.CM <- glm(Freq ~ alc*cigs + alc*mj + cigs*mj, family=poisson, data=teens.df) @ %def <<eval=FALSE>>= summary(AC.AM.CM) @ %def <<echo=FALSE>>= tmp <- paragraphs(summary(AC.AM.CM)) tmp[1:2] @ %def \break <<ec...
2008 Sep 06
2
Sweave and/or beamer issue
Dear Friends, I not sure whether this is an Sweave or a beamer problem. The Rnw file: \documentclass[compress,smaller]{beamer} %\documentclass{article} %\usepackage{beamerarticle} \usepackage{Sweave} \title{Psychophysics II} \date{September 9, 2008} \begin{document} \frame{ \begin{Schunk} \begin{Sinput} > ro <- 0.2 > c <- seq(from = -3, to = 4, by = 0.1) > fn <- 1 -