Displaying 20 results from an estimated 10000 matches similar to: "probleme with savePlot (to eps)"
2009 Feb 25
4
Strange behavior of savePlot
Hi all,
I am using savePlot in a loop for saving several graph but I get some
graph in 553x552, some other in 1920x1119. How comes ?
My data are almost all the same (same label, same xlim / ylim, almost
same data. Only the color changes). I save them in bmp.
Thanks for your help.
Christophe
2008 Jun 03
5
savePlot() no longer automatically adds an extension to the filename.
Plaintive squeak: Why the change?
Some OS's and desktops use the extension, so forgetting it causes
trouble. The new default filename keeps a filetype (as before) but the
user now has to type a filetype twice (once as the type, once as
extension) to get the same effect fo rtheir own filenames. And the
extension isn't then checked for consistency with valid file types, so
it can be
2009 Dec 07
3
savePlot for Mac and / or Linux?
Hi all,
In the package rtlu, I use the function savePlot. It is convenient since
it let the user decide in which graphic format he wants his graph to be
export.
But when I run R CMD check, I get the following message :
> rtlu(V1,fileOutput="First.tex",textBefore="\\section{Variable 1 to
3}",graphName="V1")
Error in savePlot(filename = nomBarplot, type = type)
2010 Feb 12
1
Problems with savePlot() and postscript under Snow Leopard
Dear all,
I tried:
> iris
> species.n <- as.numeric(Species)
> plot(iris, col = species.n)
> savePlot(filename="IrisTestPlot", type="png")
and got the error message:
Fehler in savePlot(filename = "IrisTestPlot", type = "png") :
kann nur aus 'X11(type="*cairo")' Devices kopieren
(sorry, I have a german version of R).
I
2009 Apr 15
1
savePlot error when type = "eps" or "wmf"
Hello,
When I use savePlot(filename="xy",type="eps") or
savePlot(filename="xy",type="wmf") , I get the following error:
Error in grid.Call("L_textBounds", as.graphicsAnnot(x$label), x$x, x$y, :
Polygon edge not found (zero-width or zero-height?)
This doesn't occur when I change the type to "jpeg" or "bmp". Can
2011 Jun 23
1
Saved EPS does not match screen when using bquote(.(i))
Here's a fairly minimal-case example in which the saved EPS does not match
the screen. The error comes when using bquote(.(i)) instead of bquote(1), as
demonstrated by the two minimally different cases below. Very strange. Any
clues as to why?
#---------------- begin -------------------
# Version A. X axis labels have subscripts as constants. EPS is correct.
windows()
layout( matrix( 1:2 ,
2011 Sep 05
1
savePlot with % in character string
This occurred after I installed R x64 2.13.1 on Windows:
savePlot("95%.winners.wmf")
saves the file as:
"951nners.wmf"
Is this the correct behavior, or have I bungled something?
John Welsh, Ph.D.
Associate Professor
Molecular and Cancer Biology
Vaccine Research Institute of San Diego
10835 Road to the Cure
San Diego, CA 92121
Phone: (858) 581-3960 ex.248
Email: jwelsh at
2008 Aug 26
3
savePlot() does not save plot with format set
R-help,
Whenever I try to save a plot with "savePlot"
the file is not stored in my hard disk with the selected
format. Several formats are set and none of them
works. I just get the file name with missing extension
and it can't be open with programs like Paint and Microsoft Photo
Editor
Th only one able to open it is "Windows Picture and Fax Viewer"
plot(rnorm(10))
2009 Aug 10
4
Saving plots to file
Appologies if this has been addressed before, but I can't seem to find it in
the help archives.
I'm looking to do something like the following but it looks like save.plot
is deprecated.
save.plot(plot(glm1$residuals,gain,main = "Hist of residuals and
gain"),file="Desktop/hist1.png")
Thanks in advance,
Sean
Session Info:
R version 2.9.1 (2009-06-26)
2005 Oct 03
3
Getting eps into Word documents.
A student in one of my courses has asked me about getting R graphics
output (under Linux) into a Word document. I.e. she wants to do her
R thing under Linux, but then do her word processing using Word.
Scanning around the r-help archives I encountered an inquiry about
this topic --- eps into Word documents --- from Paul Johnson but
found no replies to it. I tried contacting him but the email
2012 Apr 02
5
Usando R CMD BATCH no me funciona savePlot()
Buenas tardes:
Hasta ahora he utilizado savePlot() en ejecuciones de R en Windows, donde lo
que hago es grabar la ventana de gráficos mediante dev.cur() en formato pdf.
Concretamente éste es el código:
> savePlot(filename = ruta_pdf, type = "pdf", device = dev.cur(),
restoreConsole = TRUE)
Este comando está dentro de un bucle de "n" ejecuciones, por lo que guardo
un pdf por
2011 Oct 27
1
minimizing device-dependent code in graphics scripts
Here is a common scenario that I and probably others often face:
- I write a script, test.R, to produce some graphs, viewing them
on-screen and tinkering until they look right
- I want to save image files (e.g., .png), so I wrap each plot in device
driver calls, e.g.,
png(file='test01.png', width=600, height=600);
plot(1:10)
dev.off()
png(file='test02.png', width=600,
2007 Oct 29
1
SavePlot in the Batch mode
Hi R,
Does 'savePlot' will not work in the batch mode? I get the below error:
> x=c(1,2,3,4,5,6,7)
> hist(x)
> savePlot("D:\\Test\\histo",type="jpeg")
Error in savePlot("D:\\Test\\histo", type = "jpeg") :
can only copy from 'windows' devices
Execution halted
The same works in the interactive mode. What
2003 Sep 10
6
insert eps into microsft word
it seems that word can not read encapsupalted postscripts generated by R
I used this command
postscript("output.eps",horizontal=F,onefile=TRUE)
since onefile=TRUE produces an encapsualted postscript
actually what I'm trying to do is to insert the postsript file into a
word document
since other formats like jpeg and bmp do not reproduce the same quality
like postscript
formats
any
2002 May 30
3
savePlot without displaying it
Hi,
I would like to save a plot without opening the device window (no display).
Is it possible ? How can I do it ?
Thanks
Nolwenn
*------------------------------------------*
Nolwenn Le Meur
INSERM U533
Facult? de M?decine
1, rue Gaston Veil
44035 Nantes cedex 1
t?l: +33(0)2-40-41-29-86
fax: +33(0)2-40-41-29-50
e-mail: nolwenn.lemeur at nantes.inserm.fr
2005 Sep 01
0
Request: in savePlot, type="eps"
Platform: Windows
R version: 2.1.1
This is a request that in the savePlot function, type="eps" be included
in the next release. This would be an alias for type="ps" but with a
different file extension.
Rationale: The current version of R outputs excellent EPS files. It is
strictly correct to call these Postscript files, as EPS is a subset of
PS. However, on Windows,
2015 Jul 14
2
Use cairo fallback resolution greater than 72dpi in cairo_pdf and cairo_ps in grDevices
Dear all,
In grDevices R functions cairo_pdf and cairo_ps it is mentioned that when transparency (alpha channels) are used in vector output, it will rasterize the PDF or postscript exported graph at a resolution of 72 dpi : https://stat.ethz.ch/R-manual/R-devel/library/grDevices/html/cairo.html
You can see the problem if you try
library(ggplot2)
cairo_ps(file = "test.eps",onefile =
2010 Mar 31
1
Difference Linux / Windows
Hi the list,
I am writing a package that happen to not be compatible with linux
because I did not know that the function "savePlot" was available only
on windows. Is there a list of "incompatible" function? How can I get
this kind of information?
Thanks
Christophe
2009 Oct 25
3
Trying to save both an rgl plot and a bar plot errors
Hello,
I am basically using a script that is designed to first create an rgl 3d scatter plot followed by a barplot on the same data. After this is done, the program is to first save the barplot as a .tiff file then to save the rgl 3d graph as a .png file. Once this is done, it is to repeat this 3d plot and barplot combo with saving 49 more times. The plotting script excerpt will be posted at the
2012 Jun 13
1
Error: ... can only copy from 'X11(type="*cairo")' devices
Hey,
I'm running R in ubuntu 10.10 (R-2.15.0)
and when saving a plot i get the following error message:
> plot(1:10)
> savePlot("test.png",type="png")
Error in savePlot("test.png", type = "png") :
can only copy from 'X11(type="*cairo")' devices
>
Thanks in advance
[[alternative HTML version deleted]]