Displaying 20 results from an estimated 300 matches similar to: "Trouble with Sweave and Beamer"
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
2013 Feb 09
1
Swaeve, Beamer and \alt
Hi,
I am having trouble getting \alt (or \altenv) to work with
Schunk/Sinput and was wondering if anybody had had success? With the
slide
\begin{frame}[fragile]\frametitle{Basic R}
\alt<2>{
<<echo=TRUE>>=
2+2
@
}{
<<echo=TRUE, eval=FALSE>>=
2+2
@
}
\end{frame}
I get the error message:
! FancyVerb Error:
Extraneous input `> 2+2 \end {Sinput} \end
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 <-
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}
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 -
2004 Dec 20
3
Sweave and LaTeX beamer class
Hi,
has anyonne experienced problems between the LaTeX beamer class and
Sweave? The following code does not work properly:
#################################
\documentclass{beamer}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{ngerman}
\begin{document}
\frame{
\frametitle{test}
test
<<>>=
1+1
@
}
\end{document}
#################################
Below is the
2010 Aug 04
1
Problem using R and Beamer...
Dear [R] and beamer community,
I am trying to build a presentation using beamer and [R]. I can Sweave the file; however, when I run pdflatex on the file i get the following error:
! FancyVerb Error:
Extraneous input `> a = 123450 > b = -0.69 \end {Sinput} \end {Schunk} \end {
beamer at frameslide}\ifbeamer at twoscreenstext \beamer at dosecondscreennow {{fragile}
\frametitle
2010 Jun 28
2
Lattice and Beamer
Two things I think are some of the best developments in statistics and production are the lattice package and the beamer class for presentation in Latex. One thing I have not become very good at is properly sizing my visuals to look good in a presentation.
For instance, I have the following code that creates a nice plot (sorry, cannot provide reproducible data).
2011 Apr 15
1
Sweave and Slides (Beamer)
I'm posting this for two reasons: one is to see if anyone has a better
way of solving the problem or suggestions for improving my existing
approach; and the other is to show what I'm currently doing in case
anyone else might find it useful.
The background is that I've been using Sweave for several years now to
produce class notes, and I sometimes include quite a lot of raw R input
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 Sep 30
2
Sweave and LaTeX beamer class
I am failing to uncover Sweave chunks step by step using the LaTeX beamer
class.
The following minimal example:
\documentclass{beamer}
\usepackage{Sweave}
\begin{document}
\begin{frame}[fragile]
In the year \uncover<2->{25}\uncover<3->{\Sexpr{5*5}}
\uncover<4->{
<<echo=TRUE, print=TRUE>>=
5*5*101
@
}
\end{frame}
\end{document}
leads to an error message when
2011 Mar 03
1
embed latex beamer sans serif default font into R plot
Hello,
I have seen instructions on how to embed Latex Computer Modern fonts into R, but these are the default serif fonts. I am trying to embed the default font used for Latex beamer (theme Warsaw), which is a sans serif font and may be the default LateX Computer Modern sans serif font. Does anyone know the names of the font files?
Thanks
Heemun
2012 May 09
1
Sweave, beamer and alert within code chunks
Hi all,
Using Beamer, in order to highlight a piece of R code I do something
like this - note the "\structure" and "\alert" commands:
\begin{semiverbatim}
> mleOut <- \structure{dlmMLE}(Nile,
+ parm = c(0.2, 120), # initial values for optimizer
+ lower = c(1e-7, 0)) \alert<2>{# V must be positive}
> mleOut$convergence
2009 Jan 16
1
PDF slided (beamer or prosper) to an editable PPT
Hello, I am getting requests to place our PDF slides (output from
beamer) into Microsoft Powerpoint formats (.ppt). What's the best
practice or any recommended software packages (any success with open or
commercial) that we can use to convert PDF slides into an EDITABLE
powerpoint deck?
Thanks in advance.
2007 Aug 02
1
beamer error with R
Dear R users,
When I use beamer with \usepackage{harvard} it don't work.
\LaTeX{} give mi an error message, ?any suggestion?
! LaTeX Error: No counter 'paragraph' defined.
See the LaTeX manual or LaTeX Companion for explanation. Type H
<return> for immediate help.
...
l.741 \newcounter{lsubparagraph}[paragraph]
? ! Emergency stop.
...
l.741
2011 Mar 08
4
beamer overlays with Sweave?
This may be asking too much, but I'm wondering if anyone has a
solution (even a hack) for creating multiple (overlay) plots in an
Sweave file and post-processing the overlays in beamer appropriately.
For example, suppose I have a series of figure blocks in my .Rnw file:
<<plot1,fig=TRUE>>=
[stuff]
@
<<plot2,fig=TRUE>>=
[stuff]
@
<<plot3,fig=TRUE>>=
2007 Aug 02
2
Re : beamer error with R
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?...
Nom : non disponible
Url : https://stat.ethz.ch/pipermail/r-help/attachments/20070802/04c0f92e/attachment.pl
2011 Mar 07
2
Sweave with scan()-ed data
In an Sweave slide, I want to use sem::read.moments() and
sem::specify.model(), which work
by using scan() to read the following lines, up to the first blank
line. However, Sweave
throws an error:
> Sweave("sem-thurstone.Rnw")
Writing to file sem-thurstone.tex
Processing code chunks ...
1 : term hide (label=arrests-setup)
2 : echo term hide (label=thurstone-data)
Error:
2009 Jul 13
3
SweaveListingUtils question
Hello,
recently I read about the SweaveListingUtils package and now I want to try
it out. However, I can not make it work...
Below a minimal example. The problem seems to be the following line
(generated by SweaveListingPreparations()?):
\ifthenelse{\boolean{Sweave@gin}}{\setkeys{Gin}{width=0.6\textwidth}}{}%
If I comment out this line, it works.
What can I do about this?
I am using the
2005 Aug 30
1
Convert ftable to latex?
Dear list,
I cannot make the latex command to output a ftable objet the way I
want it. Is it posible?
I found a post in the archives saying that one should use the rgroup
and n.rgroup arguments to supply the row names, but so far I have been
unsuccessful.
This is what I have:
>