Multiple plots using quartz() function

My goal: to plot multiple plots in different windows.

The problem: Using "quartz()" function before each plotting I'm able to do it for a few plots and then, in the forth plot it overwrites the first quartz() window plot.

Example: here is the code of the plot that overwrites my first plot using quartz():

quartz()
p4 <- pheatmap(mat, annotation_col = anno) 
print(p4)

Does anyone have an idea what is the problem?

Best

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.