Whenever I run this code , the first plot would simply overwrite the previous one. Isnt there a way in R to separate to get two plots ?
plot(pc) title(main=
Try using par before you plot.
par
par(mfrow = c(2, 1))