[R] X11 error in png
David Scott
d.scott at auckland.ac.nz
Thu Nov 17 00:40:41 CET 2005
I managed to delete the original post about this and will no doubt mess up
threading of responses. The post is shown below.
This looks like a problem I saw just a couple of days ago. I noticed that
you used a path variable in determining the file location and name. If
something is wrong with your path (e.g. the directories it specifies don't
exist) I think you will get this error.
Check your path to make sure it is ok.
David Scott
*******************************
Original post
*******************************
From: Jack Zhu <yz8_at_georgetown.edu>
Date: Thu 17 Nov 2005 - 08:47:27 EST
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)
RNAdegSlope = cbind("Sample Names" = data_deg$sample.names, "RNA Deg
Slope" = data_deg$slope) write.csv(RNAdegSlope, file =
paste(savepath,"RNAdegSlope.csv",sep = "")) dev.off()
I got this error message:
Error in X11(paste("png::", filename, sep = ""), width, height,
pointsize, :
unable to start device PNG
In addition: Warning message:
unable to open connection to X11 display ''
My system:
Linux AS 4.0 64-bit
PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11
Jack Zhu, MD, MS
Lombardi Cancer center
Georgetown University
3970 Reservoir Rd, NW, NRB, W405b
Washington, DC 20057
Email: yz8 at georgetown.edu
Tel: (202)-687-7451
Web: http://clarkelabs.georgetown.edu
--
_________________________________________________________________
David Scott Department of Statistics, Tamaki Campus
The University of Auckland, PB 92019
Auckland NEW ZEALAND
Phone: +64 9 373 7599 ext 86830 Fax: +64 9 373 7000
Email: d.scott at auckland.ac.nz
Graduate Officer, Department of Statistics
More information about the R-help
mailing list