library(lattice) png("windows_levelplot.png") levelplot(volcano, border = 'black', shrink = c(0.7, 0.7)); dev.off() sink(file = "windows_sessioninfo.txt") print(sessionInfo()) savehistory(file="windows_history.txt")