Displaying 20 results from an estimated 8000 matches similar to: "Strange behavior of 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 special text following unkown PS operator: "SDict"
Remainder
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)
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))
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 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
2000 Jul 18
5
X11 & dev2bitmap
Hi,
I am trying to put some graphics I have generated from R on a
webpage using dev2bitmap to create a bitmap, .BMP, file.
When I look at my notes from 2 or 3 months ago I was successfully able to
put the ACTIVE device plot result into a bitmap file using a command such
as:
dev2bitmap("InsectSpray.BMP")
Job done!
Now when I try the same command, I get the following:
>
2007 May 30
3
sizing and saving graphics in R
Dear R wizards,
I am seeking advice on graphics in R. Specifically, how to manipulate
the size and save a plot I have produced using the LDheatmap library.
I confess I am relatively new to graphics in R, but I would greatly
appreciate any suggestions you may have.
LDheatmap produces a coloured triangular matrix of pairwise
associations between 600 genetic markers in my dataset.
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
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()
> hist(rnorm(100))
> windows()
1999 Dec 11
1
Graphics ?
Hi,
In the Windows version of R 0.65.1 I'd like to copy the results of a plot to
the clipboard either as a bitmap or as a metafile. The same thing in fact as
does the menu "Copy to the clipboard" provides but from the command line. I
intend to use the DCOM server version of R to do plots, among other things
and copy the results to the clipboard and show these on a picture box in my
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
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]
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 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
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, mingw32"
$status
[1] "Under development (unstable)"
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
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
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 ,
2005 Mar 09
3
Polycom IP 500 bitmaps and Idle Display Animation
Has anyone got this to work? Under Idle Display Animation, the
administrators guide says "For example, a company logo could be
displayed"..
In the ipmid.cfg file, I enabled 'ind.idleDisplay.enabled' (ie changed
it to 1), and under the IP 500 section, I added an entry for the bitmap
that I want to display: bitmap.IP_500.66.name ="arf" but from there I'm
not sure
2004 Dec 30
2
coplot with png: disappearing grid lines
Dear useRs,
When I use coplot() and output to png/jpeg/bmp, the grid lines from
the scatter plots disappear. If I output to pdf() the grid lines are
there, however I can't use it - I have many points, and the resulting
PDF file is large and very slow to open and scroll through. (By the
way, if I click File-Save As-png/jpeg/bmp from Rgui.exe, the grid
lines are preserved - but I need to use