similar to: Invalid device number in savePlot

Displaying 20 results from an estimated 10000 matches similar to: "Invalid device number in savePlot"

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
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
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
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]
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 Mar 19
3
The best way to end up with WMF files
Hi all I am doing some stats work for a group of biologists who require windows metafiles (*.wmf) for their publications. To create these, I appear to have two choices: 1. Restart my machine in Windows and use savePlot 2. Keep my machine in linux, save as another format, then convert. I'd rather stay in linux; but how do I get wmf files? I looked at using ImageMagick's convert,
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 special text following unkown PS operator: "SDict" Remainder
2006 Mar 11
1
Layout, xyplot and saving in file
Dear all, I am trying to use layout with xyplot and save the plot in a file. The saved file contains only the last panel (used jpg, wmf and pdf options in the savePlot function) I am not familiar with the graphic file formats and don't know if they can handle multipage output. If not do I need to loop by ndose in the following script ? Here is my script:
2010 Mar 01
1
Saving multiple plots named with part of the original file name
Hello All, I am trying to open all files within a folder and create multiple histograms from each file, *and* have it save with the original file name plus some new information. The way I have it set up right now, I keep saving over each new graph. I can turn the history on and see them all, but I want them all to save as unique files as well. Idealy they would be "filename CHN 1mm Length
2003 Aug 25
2
Save graph as .wmf
Hi, Is there no function in R similar to jpeg(...) or postscript(...) for windows meta files? The function savePlot(...) is not really what I need. I'd like to save the plot on my disk without open a new plot window. And I don't want to save it on my disk and convert it from a *.* to .wmf (there are too many). Thanks for any help Thomas
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 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)
1999 Dec 17
1
R 0.90.1 for Windows
A binary distribution of R 0.90.1 is available at http://www.r-project.org/bin/windows/windows-NT/base/ Installation instruction are given in the README file at the same location. guido masarotto Windows changes since 0.90.0 ---------------------------- It is possible to install packages from any directory (set PKGDIR on the make command) and to any directory (set RLIB on the make
1999 Dec 17
1
R 0.90.1 for Windows
A binary distribution of R 0.90.1 is available at http://www.r-project.org/bin/windows/windows-NT/base/ Installation instruction are given in the README file at the same location. guido masarotto Windows changes since 0.90.0 ---------------------------- It is possible to install packages from any directory (set PKGDIR on the make command) and to any directory (set RLIB on the make
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
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
2008 Jun 04
2
Lattice + Word: Changing .wmf files to .pdf files
My apriori apologies if this is felt to be the wrong list for this issue - although it starts with R, it's a combination of programs that creates the problem. Currently we are using windows metafile format for in-text tables for reports created in Word. However, we've discovered some artifactual lines being created in our final output once the Word document is changed to PDF. The process
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
2005 May 25
2
weighted.mean and tapply (again)
I read answers to questions including the words "tapply" and "weighted.mean", but I didn't understand either the problem (data) or the solution provided. Here is my question ... > dat[1:10,] GROUP VALUE FREQUENCY 1 2 2 78 2 2 3 40 3 2 4 16 4 2 5 3 5 2 6 1 6 2 8 1 7
2006 Jun 01
1
Help with evaluation of expressions
Hello all: I have searched through the help files and I have been unsuccessful in solving this problem. I am trying to create a small wrapper function that will go around a call to a plot function and create a windows metafile in the directory and also write the name of the file to a text file. The purpose is to efficiently bring a large number of plots into powerpoint. I am using