tiff format problem
2
0
Entering edit mode
carol white ▴ 680
@carol-white-2174
Last seen 9.5 years ago
European Union
Hi, I want to save the image produced by heatmap.2 in a tiff file. To do so, I call  tiff(filename ='test.tiff', res = 300) heatmap.2(c2, col = greenred(200),labCol = "", labRow = "",breaks = seq(-3,3,0.03), trace = "none", dendrogram = "none", keysize = 2, scale = "none") But I get the following error message after the call of heatmap.2 Error in plot.new() : unimplemented cairo-based device Error in par(op) : invalid value specified for graphical parameter "pin" I use R version 2.9.1, system x86_64, linux-gnu Look forward to your reply, Carol [[alternative HTML version deleted]]
• 2.2k views
ADD COMMENT
0
Entering edit mode
@sean-davis-490
Last seen 3 months ago
United States
On Fri, Sep 4, 2009 at 3:28 AM, carol white <wht_crl@yahoo.com> wrote: > Hi, > I want to save the image produced by heatmap.2 in a tiff file. To do so, I > call > tiff(filename ='test.tiff', res = 300) > heatmap.2(c2, > col = greenred(200),labCol = "", labRow = "",breaks = seq(-3,3,0.03), > trace = "none", dendrogram = "none", keysize = 2, scale = "none") > > But I get the following error message after the call of heatmap.2 > > Error in plot.new() : unimplemented cairo-based device > Error in par(op) : invalid value specified for graphical parameter "pin" > > I use R version 2.9.1, system x86_64, linux-gnu > > Hi, Carol. What is the output of capabilities()? Does tiff say "TRUE"? If not, then your system does not support making tiffs. Sean [[alternative HTML version deleted]]
ADD COMMENT
0
Entering edit mode
In effect, tiff says false. How would the system have supported? what is missing? thanks --- On Fri, 9/4/09, Sean Davis <seandavi@gmail.com> wrote: From: Sean Davis <seandavi@gmail.com> Subject: Re: [BioC] tiff format problem To: "carol white" <wht_crl@yahoo.com> Cc: bioconductor@stat.math.ethz.ch Date: Friday, September 4, 2009, 4:27 AM On Fri, Sep 4, 2009 at 3:28 AM, carol white <wht_crl@yahoo.com> wrote: Hi, I want to save the image produced by heatmap.2 in a tiff file. To do so, I call  tiff(filename ='test.tiff', res = 300) heatmap.2(c2, col = greenred(200),labCol = "", labRow = "",breaks = seq(-3,3,0.03), trace = "none", dendrogram = "none", keysize = 2, scale = "none") But I get the following error message after the call of heatmap.2 Error in plot.new() : unimplemented cairo-based device Error in par(op) : invalid value specified for graphical parameter "pin" I use R version 2.9.1, system x86_64, linux-gnu Hi, Carol. What is the output of capabilities()?   Does tiff say "TRUE"?  If not, then your system does not support making tiffs. Sean [[alternative HTML version deleted]]
ADD REPLY
0
Entering edit mode
As another option, except postscript ('file_name.eps'), is there any other function that creates eps format to be used when running R in background? Carol --- On Fri, 9/4/09, Sean Davis <seandavi@gmail.com> wrote: From: Sean Davis <seandavi@gmail.com> Subject: Re: [BioC] tiff format problem To: "carol white" <wht_crl@yahoo.com> Cc: bioconductor@stat.math.ethz.ch Date: Friday, September 4, 2009, 4:27 AM On Fri, Sep 4, 2009 at 3:28 AM, carol white <wht_crl@yahoo.com> wrote: Hi, I want to save the image produced by heatmap.2 in a tiff file. To do so, I call �tiff(filename ='test.tiff', res = 300) heatmap.2(c2, col = greenred(200),labCol = "", labRow = "",breaks = seq(-3,3,0.03), trace = "none", dendrogram = "none", keysize = 2, scale = "none") But I get the following error message after the call of heatmap.2 Error in plot.new() : unimplemented cairo-based device Error in par(op) : invalid value specified for graphical parameter "pin" I use R version 2.9.1, system x86_64, linux-gnu Hi, Carol. What is the output of capabilities()?�� Does tiff say "TRUE"?� If not, then your system does not support making tiffs. Sean [[alternative HTML version deleted]]
ADD REPLY
0
Entering edit mode
amit mandal ▴ 140
@amit-mandal-3151
Last seen 10.2 years ago
hello carol, I use the "savePlot" command to save images produced in R. Till the pop-up graphical window containing the image is open, this command can be used. To save in 'tiff' format one may go like this - savePlot(filename=paste("*name_by_which_to_save* ",type="tiff",sep='.'),type="tiff") I haven't used the heatmap.2 command, but the error messages seem to tell something wrong with the heatmap command and not with the tiff(...) command. cheers, amit mandal Graduate student Genomics & Molecular Medicine Lab IGIB, Delhi On Fri, Sep 4, 2009 at 12:58 PM, carol white <wht_crl@yahoo.com> wrote: > Hi, > I want to save the image produced by heatmap.2 in a tiff file. To do so, I > call > tiff(filename ='test.tiff', res = 300) > heatmap.2(c2, > col = greenred(200),labCol = "", labRow = "",breaks = seq(-3,3,0.03), > trace = "none", dendrogram = "none", keysize = 2, scale = "none") > > But I get the following error message after the call of heatmap.2 > > Error in plot.new() : unimplemented cairo-based device > Error in par(op) : invalid value specified for graphical parameter "pin" > > I use R version 2.9.1, system x86_64, linux-gnu > > Look forward to your reply, > > Carol > > > > [[alternative HTML version deleted]] > > > _______________________________________________ > Bioconductor mailing list > Bioconductor@stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: > http://news.gmane.org/gmane.science.biology.informatics.conductor > -- --------------------------------------------------------------- The robbed that smiles, steals something from the thief. - Shakespeare --------------------------------------------------------------- [[alternative HTML version deleted]]
ADD COMMENT

Login before adding your answer.

Traffic: 509 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6