Displaying 16 results from an estimated 16 matches for "epstopdf".
2004 Apr 03
2
a fix for rotated PDF graphs
...hives, but no nice solution. So I decided to post one I came up
with.
The problem is that graphs output as eps files, for example using
ps.options(onefile=FALSE, paper="special", width=8, height=8,
horizontal=FALSE, pointsize=12)
get rotated when I convert them to pdf using epstopdf. Both ghostview
and acroread display them rotated, so I don't think it's an actual
acroread bug. I am using R 1.8.1.
The solution is to "distill" the files using eps2eps, part of
ghostscript on my Debian box. Here is an example Makefile I use for
this:
---- cut here ----
EPS2...
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?
2009 Oct 22
3
PDF too large, PNG bad quality
...rs of trying different settings, I discovered that choosing a
different font family can help, e.g.: 'par(family="Mono")'. This
gives good-looking text. Yet, the problem with the file size
remains.
There exists the hint to produdc EPS instead and then convert to
PDF using 'epstopdf'. The resulting PDF files are slightly
smaller, but still too large, and PDF viewers still don't like
it.
So I gave PNG a try. PNG files are much smaller and PDF viewers
have no trouble with them. However, fonts look ugly. The same
trick that worked for Cairo PDF has no effect for PNG....
2002 Feb 05
1
eps Portrait to pdf now rotated since gs6.5 --- why?
Hi list,
this question has probably been answered but I haven't found
a solution in the archives:
The older ghostscript gs5.50 (debian,stable) deals well with R-plots:
epstopdf yields pdfs with the same orientation as the eps-file.
But, since gs6.5 (or earlier) the dimension of the plot is interpreted: if
x-width exceeds y-width even a Portrait-eps is rotated to Landscape.
A possible solution is to adjust the Orientation-Flag at eps-generation in R.
Any ideas?
Thanks...
2007 Mar 09
1
pdf device bounding box?
dear R wizards: I have a very simple suggestion/question. Would it
be easy to change the pdf device so that it adds a BoundingBox around
its output? (Under R 2.4.1, this seems not to be the case, because
epstopdf under linux complains. Fortunately, it still works
correctly.)
This is not a big deal, but it would be nice if R did so, if only to
help some pdf programs that are less adept at dealing with pdf files
to be inserted than ghostscript/xpdf.
Sincerely,
/ivo
2003 Oct 08
4
Unpredictable EPS->PDF rotation (PR#4460)
Dear r-bugs,
When I create EPS files, they sometimes appear rotated in my LaTeX PDF
document and sometimes they don't. Two examples:
## x1.eps is not rotated in LaTeX
x <- seq(-1, 1, length=100)
postscript("c:/x1.eps", height=3, width=4,
horizontal=FALSE, onefile=FALSE, paper="special")
plot(x, dnorm(x), type="l")
dev.off()
## x2.eps is not
2007 Nov 12
1
how to run a linux syntax within an R script?
...rminal) from an R code?
Just one example:
Let say that I have an R code with
hist(rnorm(100))
dev.copy2eps(file="Dnormal.eps")
and then within the same R code, i want to convert the file
'Dnormal.eps' to 'Dnormal.pdf'. This can be achieved using at the linux
terminal
%epstopdf Dnormal.eps
but i do not know how to include this within the R script, any ideas?
I know that i can also save the plot (within R) using pdf(), but I want
to save the same plot as eps and pdf, without having to reproduce the
code for the plot (in this case the plot is easy, but not always is lik...
2003 Apr 16
2
barplot2
Hello,
I get a nice looking barplot using the barplot2 function in the gregmisc
package:
body2 <- barplot2(hh3, beside = TRUE,
col = c("mistyrose", "lightcyan"),
....
cex.names = 1.0, plot.ci = TRUE, ci.l = cil, ci.u = ciu,
plot.grid = TRUE)
box()
However, obviously I lose the collors when converting from ps to a pdf
(outside of R)
2000 Dec 06
1
Landscape problems with ps2pdf [summary]
Since I sent my original question last week, this is one of two suggestions
that worked. Using Adobe Acrobat, as suggested by Professor Ripley, was
very satisfactory, but required that I use multiple platforms to make the
conversion to PDF (from Linux to Windows).
The solution by Peter Adorjan (included below), also worked very well, and
can be carried out on any platform using tools available
2010 Sep 15
1
running 'make' failed during vignette creation ('R CMD build') on Windows
...quot;)' and for packages 'citation(pkgname)'.
Loading required package: DBI
Loading required package: hu6800.db
Loading required package: AnnotationDbi
Loading required package: org.Hs.eg.db
determining 1000 random DLD-scores with 20 probe sets each (wait for
10 dots)
..........
epstopdf splitSet.eps
pdflatex tr_2005_02
This is pdfTeX, Version 3.1415926-1.40.9 (MiKTeX 2.7)
entering extended mode
(tr_2005_02.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, dumylang,
nohyphenation, ge
rman, ngerman, french, loaded.
("C:\Program Files\MiKT...
2005 Mar 02
3
orientation of eps files
hello,
i have a problem with the orientation of eps files produced with the postscript() command. i have generated some eps files with R using:
postscript(file = filename, horizontal = FALSE, paper = "special", onefile = F
ALSE, height = height, width = width, pointsize = pointsize)
now, when i include these eps files into a standard paper document (ie. a4 paper, portrait orientation)
2004 Mar 03
9
Publication quality graphs
Dear all,
A journal in which we wanted our manuscript published requires the
figures as a tiff, eps or PowerPoint formated. I tried converting .jpeg
files to these formats but it looses its quality both on the screen and
on paper. Could some one please help.
Thanks in advance,
____________________
Sivakumar Mohandass,
Department of Entomology,
Kansas State University
[[alternative HTML
1998 Nov 19
1
PDF Library
[* The word xSUBSCRIBE so early in your posting made it bounce. MMae]
v
I 0subscribe to R-help (not R-devel) but thought this was more relevant to
R-devel, and the future of R's imaging model and cross-platform support. If
this has already been under discussion I apologize. I've no connection with
the product, business or its people.
Gerry
Begin forwarded message:
We, at
2008 Oct 03
3
several postscript problems
Hello everyone,
I'm currently trying to export a couple of graphs to pdf . Postscript
would be fine too, but I'm using odd page dimensions, which seem to be
overwritten when using the "ps2pdf" command. I'm using the pdfpages
package in LaTeX to put 6 graphs onto one page (this is why it ought to
be a pdf in the end).
I have two problems:
1. I'm using
2003 Jul 04
6
the huge postscript plot
Hi,
I'm just wondering how I can do to make a huge postscript plot be
manageable. My question is that I have to draw around 60,000 points which
makes it painfully slow to print or view in gv or put it into latex
document, though it is very fast to produce the postscript file.
A simple example is in the attachment.
Well, I found that if I use png or jpeg. It is much faster to view
the
2007 May 22
5
Reducing the size of pdf graphics files produced with R
Hi,
Without trying to print 1000000 points (see <http://
finzi.psych.upenn.edu/R/Rhelp02a/archive/42105.html>), I often print
maps for which I do not want to loose too much of coastline detail,
and/or plots with 1000-5000 points (yes, some are on top of each
other, but using transparency (i.e. rgb colors with alpha
information) this actually comes through as useful information.