# Delete existing variables rm(list = ls()) while (!is.null(dev.list())) dev.off()