Save plot as png in cn.MOPS
2
0
Entering edit mode
ashkot09 • 0
@ashkot09-9452
Last seen 8.9 years ago

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 • 1.3k views
ADD COMMENT
2
Entering edit mode
@gunter-klambauer-5426
Last seen 3.9 years ago
Austria

TRY

plot(res,toFile=TRUE)

ADD COMMENT
0
Entering edit mode
ashkot09 • 0
@ashkot09-9452
Last seen 8.9 years ago

awesome, that worked.

ADD COMMENT

Login before adding your answer.

Traffic: 465 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