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?