search for: saveplot

Displaying 20 results from an estimated 124 matches for "saveplot".

2009 Mar 01
1
probleme with savePlot (to eps)
Hi the list, I used savePlot to export some eps graph but it seems that the graph file hold a bug. I include the graph.eps in a LaTeX file. Running latex is ok. But the dvi file contain some mistake, the graph overprint on some text and hide it. Then, when I try to convert it to another format, I get : Ignoring remaining...
2005 Jul 05
1
Invalid device number in savePlot
Hi, I recently encountered an error using the command "savePlot" when trying to save the third of 3 open graph windows. After successfully saving and closing the first two windows I receive an "Invalid device number in savePlot" error. The following is copied and pasted from an example session to illustrate the behaviour: > windows() >...
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 an...
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 s...
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' dev...
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 &quo...
2013 Apr 08
2
savePlot() under Windows
Hi, A Windows user asked me a question and I believe this is a bug of R 3.0.0 under Windows: > plot(1:10) > savePlot('test.wmf') Error in .External(C_savePlot, device, filename, type, restoreConsole) : Incorrect number of arguments (4), expecting 3 for 'savePlot' > sessionInfo() R version 3.0.0 (2013-04-03) Platform: x86_64-w64-mingw32/x64 (64-bit) locale: [1] LC_COLLATE=English_United Stat...
2008 Jun 03
5
savePlot() no longer automatically adds an extension to the filename.
...he advantage of doing away with it... Suggestion: Revert to the previous default (extension as type) and include an 'extension' in the parameter list so that folk who don't want it can change it and folk who did want it get it automatically. The code would then look something like savePlot<-function (filename = "Rplot", type = c("wmf", "emf", "png", "jpg", "jpeg", "bmp", "tif", "tiff", "ps", "eps", "pdf"), device = dev.cur(), restoreConsole = TRUE, extensio...
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
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...
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)...
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 tried: > postsc...
2005 Mar 22
1
Segfault with savePlot
I get a segfault when using savePlot("foo","pdf"). FWIW, I don't have a problem using the canonical pdf("foo.pdf") plot(something) dev.off() Best, Jim > R.Version() $platform [1] "i386-pc-mingw32" $arch [1] "i386" $os [1] "mingw32" $system [1] "i386, ming...
2010 Oct 29
2
plot pdf
...s not working? Dev.set(1) xcrit=-1.645 cord.x <- c(-3,seq(-3,xcrit,0.01),xcrit) cord.y <- c(0,dnorm(seq(-3,xcrit,0.01)),0)            # what does final 0 do here? curve(dnorm(x,0,1),xlim=c(-3,3),main='Normal PDF') polygon(cord.x,cord.y,col='orange') savePlot(filename="c:\\ssl_z.emf",type="emf")          #unable to create metafile?  why?    x=seq(80,200,1) plot(x,dnorm(x,140,15),type="l",ylab="Probability")   dev.set(4) xcrit=135.9 cord.x <- c(80,seq(80,xcrit,.1),xcrit) cord.y <...
2004 Sep 30
2
How to save graphics in portable way in batch mode?
Hi all, What is the right portable way to save graphics in batch mode? Remarks: 1. Problem is STFWed and RTFMed. In particular a short note about png() is found in R-FAQ. In fact, there were stated that png() is not reliable under Linux in batch mode. 2. savePlot under windows is quite convenient, but not supplied under Linux. 3. pdf() + postscript() < savePlot() Indeed, savePlot does support much more image formats and is flexible in changing type of output via its argument. 4. The scheme "postscript(); plot(); de...
1999 Oct 28
2
Creating gif files using R
Greetings, I am a new user of R but a long time fan of S (Splus) and have installed R version 0.65.1 on a Windows NT machine. I would like to save plots as gif files and have been using savePlot() with some success. I found that savePlot would not work without modification, namely decrementing the device by 1 before calling the internal routine that does the conversion. Once that change was made it worked as advertised. I am wondering now whether I could generate the gif files in a batch j...
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...
2011 Jun 23
1
Saved EPS does not match screen when using bquote(.(i))
...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 , nrow=2 ) ) plot( 0 , 0 , xlab=bquote(mu[1]) ) plot( 0 , 0 , xlab=bquote(mu[2]) ) savePlot( file="SavePlotTestA.eps" , type="eps" ) # Axis labels are correct in EPS. # Version B. X axis labels have subscripts as variable index. EPS is wrong! windows() layout( matrix( 1:2 , nrow=2 ) ) for ( i in 1:2 ) { plot( 0 , 0 , xlab=bquote(mu[.(i)]) ) } savePlot( file="Sa...
2008 Oct 05
2
trouble with character \u00e2
Greetings R-wizards: For historical reasons I have filenames with the character "?" and have successfully used "\u00e2" in its place, with the hoped-for result on all my on-screen plots. However since R2.7.0 I have trouble with savePlot() when the file name includes that character as it does in this example: savePlot(paste("diagnostic ? vs a ", file.label, ".jpg", sep = ""), type = "jpg") In R2.6.0 and earlier, R would ignore a dot ('.') in the file name and supply the ext...