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: [EMAIL PROTECTED]
Tel: (202)-687-7451
Web: http://clarkelabs.georgetown.edu

        [[alternative HTML version deleted]]

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to