Question: Save plot as png in cn.MOPS
0
gravatar for ashkot09
3.9 years ago by
ashkot090
ashkot090 wrote:

Hi,

I have R code as follows that uses cn.MOPS.

png(filename="/home/localuser/test123.png")

x <- plot(res)

dev.off();

I want to plot res but save as image. The above does not work, any ideas?

 

cn.mops • 677 views
ADD COMMENTlink modified 3.9 years ago • written 3.9 years ago by ashkot090
Answer: Save plot as png in cn.MOPS
2
gravatar for Günter Klambauer
3.9 years ago by
Austria
Günter Klambauer540 wrote:

TRY

plot(res,toFile=TRUE)

ADD COMMENTlink written 3.9 years ago by Günter Klambauer540
Answer: Save plot as png in cn.MOPS
0
gravatar for ashkot09
3.9 years ago by
ashkot090
ashkot090 wrote:

awesome, that worked.

ADD COMMENTlink written 3.9 years ago by ashkot090
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 157 users visited in the last hour