Error in dev.off() : cannot shut down device 1 (the null device)

Turns out that the only problem with this was with where the file was trying to save to. I altered the code to save to a different directory and it worked fine

Leave a Comment