Displaying 20 results from an estimated 10000 matches similar to: "pdf transparency not working with Latex documents"
2008 Jul 25
1
Thin frame line around R pdf output in LaTeX
I'm using R 2.7 on an Intel MAC.
When I produce a pdf graph, I save the output window from the menu to a pdf file. This gives a very nice quality graph.
However when I include the graph in a LaTeX document (actually beamer presentation) using \includegraphics I get a graphic with a very light framebox around the outside. Note, I'm not using a fbox command in LaTeX.
Not sure if this is
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
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 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}
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
2007 Feb 01
3
indexing
Hello,
In a nutshell, I've got a data.frame like this:
> assignation <- data.frame(value=c(6.5,7.5,8.5,12.0),class=c(1,3,5,2))
> assignation
value class
1 6.5 1
2 7.5 3
3 8.5 5
4 12.0 2
>
and a long vector of classes like this:
> x <- c(1,1,2,7,6,5,4,3,2,2,2...)
And would like to obtain a vector of length = length(x), with the
corresponding
2007 Feb 01
3
indexing without looping
Hello,
I've got a data.frame like this:
> > assignation <- data.frame(value=c(6.5,7.5,8.5,12.0),class=c(1,3,5,2))
> > assignation
>
value class
1 6.5 1
2 7.5 3
3 8.5 5
4 12.0 2
> >
>
and a long vector of classes like this:
> > x <- c(1,1,2,7,6,5,4,3,2,2,2...)
>
And would like to obtain a vector of length =
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
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
2007 Aug 06
2
warnings()
Hi,
Is there a way to know which library is giving a warning?
Specifically, I'm getting a set of warnings:
"Too many open raster files"
Thanks and best wishes,
--
Javier Garc?a-Pintado
Institute of Earth Sciences Jaume Almera (CSIC)
Lluis Sole Sabaris s/n, 08028 Barcelona
Phone: +34 934095410
Fax: +34 934110012
e-mail:jgarcia at ija.csic.es
2008 Apr 16
1
Converting from encapsulated postscript to encapsulated pdf
I have several old encapsulated postscript graphics generated by R that
I want to include in a LaTeX Beamer presentation so I want them in pdf.
Under Ubuntu linux typing
convert z.eps z.pdf (to use ImageMagick)
results in a nice looking graphic but the bounding box is lost. Doing
convert z.eps z.epdf
results in a fuzzy image with a good bounding box.
Does anyone have a nice solution?
2006 Dec 12
3
expression()
Hi,
I'm trying to use expression() to write a text to a graphic in the margin.
Using:
mtext(expression(beta),side=1,line=2)
writes a perfect beta greek character, but I need to add a subindex
"max", and I'm trying:
mtext(paste(expression(beta),"max"),side=1,line=2)
simply writes "beta max" in the plot.
Please, Could you tell me what I'm doing wrong?
2007 May 21
1
help with this indexing
Hi all,
Let's say I have a long data frame and a short one, both with three
colums: $east, $north, $value
And I need to fill in the short$value, extracting the corresponding
value from long$value, for coinciding $east and $north in both tables.
I know the possibility:
for (i in 1:length(short$value)){
short$value[i] <- long$value[long$east==short$east &
long$north==short$north]
}
How
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.
2006 Nov 23
2
which() over a matrix
Hello,
A brief question that I am not able to resolve by my own, but I presume
it's easy for you:
I've used apply to find the values closer to 0 in each row of a matrix:
closer.to.0 <- apply(abs(myarray),MARGIN=1,"min")
My question is how could I use which (or another way) to obtain a vector
that indicates which columns contains these "closer to 0" values?
(I
2008 Jun 23
3
subset with multiple criteria
This should be theoretically very simple, but I dont get the elegant
answer (without looping).
I've got a long (thousands of rows) data frame:
> E.coor[1:10,]
east north dat
1 582650 4248850 0.8316848
2 582750 4248850 0.7230272
3 582850 4248850 0.3250818
4 582950 4248850 0.6144006
5 583050 4248850 0.8706312
6 583150 4248850 0.2149651
7 583250 4248850 0.1659519
8
2008 Apr 21
0
Summary of importing vector graphic formats written by R into Open Office
PROBLEM:
OpenOffice (specifically Impress) imports emf files as the ones
generated by the
R GUI in Windows with poor quality. Is there another vector format
written by an R graphic
GUI that could be
imported into OpenOffice (specifically Impress)?
SOLUTIONS:
Currently None. The suggested vector files are either not provided by an
interactive
graphic GUI (SVG) or cannot be imported and displayed
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 -
2016 Jan 19
4
Monitor Dummy Device
When i do presentation i have this workflow:
I connect the beamer on my notebook so i have dualscreen. On my notebook
screen i have all icons/windows i need. The things i want to show i move
to the 2. desktopscreen (the beamer).
If i want to be independent of the cable-end of the beamer i do this:
i connect a second monitor to my notebook and i stream the screen of the
2. monitor with ffmpeg
2008 Jan 28
2
basic spatial query
Hello;
Please coud you advise me of a simple way to select points (x,y
coordinates) that fall within a polygon.
I've got a set of polygons, each one defined by an arbitrary number of
points, and several points inside each polygon.
I know this is simple with a GIS, but I'd rather do it inside R.
Thanks and best regards,
Javier
-----