SyntaxFix
Write A Post
Hire A Developer
Questions
Every time a new device is opened par() will reset, so another option is simply do dev.off() and continue.
dev.off()