cn.MOPS output file
1
0
Entering edit mode
ashkot09 • 0
@ashkot09-9452
Last seen 8.3 years ago

Hi all, i have the following lines of code in my R script and it does not work, I am calling my R script from python.

dev.print(jpeg,filename=paste("/home/localuser,"/","file1.jpg",sep=""),width=500,height=500);

dev.off();

So i decided to not use this approach and realized that cn.MOPS produces a PDF, the issue I am having is that i cannot define where the PDF should be stored and also cannot chose a filename. Any ideas how I could accomplish this?

cn.mops • 998 views
ADD COMMENT
0
Entering edit mode
@gunter-klambauer-5426
Last seen 3.3 years ago
Austria

Hello Ashkot,

The plot functions of cn.MOPS are typical R plot functions that send the plot information to an open device. If you open a PDF device by "pdf("myPdf.pdf")" and then use the plotting function of cn.MOPS (parameter "toFile=TRUE") it should work. I am not sure what the problem is with the Python interface.

Could you give me the R code that you use for plotting?

 

Regards,

Günter

ADD COMMENT

Login before adding your answer.

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