Displaying 20 results from an estimated 20000 matches similar to: "unable to start device PNG and unable to open connection to X11 display"
2007 Oct 29
2
Qsub - unable to open connection to X11 display
Hi there,
I want to run an R script on a cluster with qsub. Obviously I don't want to
display any X window, but I want use png() or something else to write out
images.
Unfortunately I get the following error message:
> png(filename = " ALL.png", width = 480, height = 480, pointsize = 12, bg =
"white", res = NA)
Error in X11(paste("png::", filename,
2004 Jan 19
1
png support on R debian sid 1.8.1 binary
I have updated my R to the current R version (1.8.1) using apt-get of the R
binaries for debian sid in cran.
Now, when I do:
png(file="myplot.png")
I get:
Error in X11(paste("png::", filename, sep = ""), width, height, pointsize,
:
unable to start device PNG
In addition: Warning message:
No png support in this version of R
what do I have to do to get the
Error in X11(paste("png::", filename, sep = ""), width, height, pointsize unable to start device PNG
2005 Dec 30
1
Error in X11(paste("png::", filename, sep = ""), width, height, pointsize unable to start device PNG
Hi,
I got this error while using png() function in RedHat 9.0.
"Error in X11(paste("png::", filename, sep = ""), width, height, pointsize
unable to start device PNG"
It looks like the system lacks some library for graphics. Can anyone
tell me which rpm I should install to have png() function work with
out problem?
Thanks ...
2005 Nov 16
2
X11 error in png
Hi all,
When I ran a script containing the following codes:
png(paste(savepath,"a_rnaplot.png",sep = ""),width = fwidth, height = fheight,pointsize = fpointsize);
data_deg <- AffyRNAdeg(data_cel)
plotAffyRNAdeg(data_deg,col=cols,lty=1,lwd = "2")
#a <- par("fin")
legend("bottomright",sampleNames(data_cel),col=cols,lty=1)
2012 Apr 10
1
X11 display problem
Hi,
I run R on a unix server and login from a Mac with ssh -X. When I want to run a graphics function like hist, I get the following x11 message:
Error in X11(d$display, d$width, d$height, d$pointsize, d$gamma, d$colortype, :
unable to start device X11cairo
In addition: Warning message:
In function (display = "", width, height, pointsize, gamma, bg, :
unable to open connection to
2008 Feb 19
1
Bug using X11 on mac osx (for jpeg or png creation) (PR#10800)
Full_Name: Stephane Bonneaud
Version: 2.6.2
OS: OSX - Leopard 10.5.2
Submission from: (NULL) (195.221.233.130)
Hello,
I have a R code file containing the following code:
-------
# This code is in r2jpg.r
# myData is filled here with some data from a file
jpeg(filename="test.jpg",width=960,height=720,pointsize=16,quality=100)
plot(myData,xlab="anything",
2007 Jun 15
2
Upgraded FC4 to FC5 - unable to start device X11 in R
Hi,
I upgraded my system from FC4 to FC5. So now I have R version 2.5.0
(2007-04-23).
But I ran into a problem with starting device X11 (message below).
> X11()
can't find X11 font
Error in X11(display, width, height, pointsize, if (is.null(gamma)) 1
else gamma, :
unable to start device X11
Any idea?
Thanks,
L.
--
Li-Jung Liang, Ph.D.
Department of Biostatistics
UCLA
2007 Oct 27
1
(PR#10379) Re: x11(....) kills R without DISPLAY
Hin-Tak Leung wrote:
> Peter Dalgaard wrote:
>> brechbuehler at gmail.com wrote:
>>> Full_Name: Christian Brechbuehler
>>> Version: 2.4.1, 2.5.1, OS: Ubuntu GNU/Linux
>>> Submission from: (NULL) (24.61.47.236)
>>>
>>>
> <snipped>
>>> Example (start R without DISPLAY from bash):
>>> % DISPLAY=3D R
>>> >
2008 Dec 29
1
X11 PNG Error
Hi All,
I am running R 2.6.0 on an Ubuntu 8.04 with Rserve on a machine.
I send R commands from a Windows computer to the R machine and a few
commands require the creation of plots on png devices.
I often get the following error:
Error in X11(paste("png::", filename, sep = ""), width, height, pointsize, :
unable to start device PNG
I've solved this error at times by
2006 Nov 03
1
R CMD BATCH: unable to start device PNG
And on that note, here is a function that I use to get around it:
-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Jeffrey Horner
Sent: Friday, November 03, 2006 10:01 AM
To: ryszard.czerminski at novartis.com
Cc: r-help at stat.math.ethz.ch
Subject: Re: [R] R CMD BATCH: unable to start device PNG
ryszard.czerminski
2015 Jul 04
0
Support for transparency in metafile export & support for export to Powerpoint
Dear all,
Further to my previous message I now made a one-line convencience function to export your currently active graphics window/plot to either Word or Powerpoint in Office-native vector-based DrawingML format using either
export2ppt(file="plot.pptx")
or
export2doc(file="plot.docx") :
see
2009 Jun 17
1
Unable to use jpeg(), png() etc.....
Hello,
I 've just re-installed R 2.9.0 on ubuntu 9.04.
I do not understand why I am unable to use simple device function such as jpeg(), png()...
> png()
Error in X11(paste("png::", filename, sep = ""), width, height, pointsize, :
unable to start device PNG
In addition: Warning message:
In png() : no png support in this version of R
> capabilities()
jpeg
2006 Sep 01
1
problem with png
I cannot generate png files running R2.2.1 on a SunOS 5.9 machine. See
below. I did a search on this problem and people who have virtually the
same error have solved the problem by installing or updating libpng .
We downloaded libpng from Sun but still the problem remains. Does a path
within R need to be set to this file or does the problem indicate that
libpng was not installed properly? I
2009 May 14
5
Graphical output format
Dear colleagues,
Saving a plot with pdf gives a very nice result:
pdf("myplot.pdf")
par(font=1,family='serif')
plot(pressure)
dev.off()
Doing the very same with other formats (png, jpeg, tiff) gives far
worse results. Is there anything to do to make a plot in some other
format than pdf look like the pdf? Hardly any journal accepts pdf
files for figures, and most do accept png
2004 Sep 30
2
pointsize in png graphics
Dear all,
I'm trying to produce 2 png files, one consisting of an image plot and a
color-table (also an image plot) and the other one consisting of 4 image
plots and a color table. I'd like the color table to be exactly the same.
The way I proceded is the following:
for one plot and the color-table
png(file = png.file, width = 650, height = 800, pointsize = 16)
layout(matrix(c(1, 2),
2008 Aug 28
1
Second X11 call with invalid display crashes R after first X11 call. (PR#12628)
I get this with R 2.7.2 (and 2.7.1, and 2.6.2, but NOT 2.4.0):
> X11() # this one opens up okay
> X11("foo")
Error: Couldn't find per display information
$
and R crashes out back to my shell prompt.
If I do X11("foo") as a first command I get a meaningful error and my
R prompt back:
> X11("foo")
Error in X11(d$display, d$width, d$height,
2005 Oct 03
2
grob questions
If I run the following example from:
http://www.stat.auckland.ac.nz/~paul/grid/doc/grobs.pdf
> grid.newpage()
> pushViewport(viewport(w = 0.5, h = 0.5))
> myplot <- gTree(name = "myplot", children = gList(rectGrob(name = "box",
+ gp = gpar(col = "grey")), xaxisGrob(name = "xaxis")))
> grid.draw(myplot)
>
2005 Aug 15
1
png and resolution (PR#8066)
Full_Name: Knut krueger
Version: 2.1.1
OS: xp Home
Submission from: (NULL) (149.225.134.34)
In the png function the value res seems to be inactive:
bmp(filename = "c:/r/Rplot%03d.bmp", width = 1920, height = 1920, pointsize =
48, bg = "white", res = 2400)
result:
witdh/heigth = 1920 <> 20.32 mm
ppi=2400
Results as expected
png(filename =
2000 Oct 25
4
png output in batch
I'm trying to use R in a cgi script to produce graphics
files in png format, and I'm having a problem.
My shell command line looks like this:
R </usr/dfs/auction/eligibility.R --no-save >/tmp/R.out
and the line in the R script looks like this:
png ("foo.png", pointsize=18)
If I run outside the cgi context, it runs great. When
run as in a cgi script, I get this error
2006 Jul 21
2
connection to X11 problem
Dear List,
I am a new Mac user and I am having problem generating png (or jpeg)
using the GUI version of R. I installed R-2.3.1.dmg (custom install with
everything selected) and X11User.pkg but I am still getting the
following X11 connection error when I try to generate a png (or a jpeg):
Error in X11(paste("png::", filename, sep = ""), width, height,
pointsize, :