CSC 152: The Week beginning Sept. 23 |
pdf()
statement and the dev.off()
statement work as a team. The first says
start saving what follows as a pdf file; the second says stop doing that. R will get very confused if you have one
and not the other. You might want to hold off on those two statements (lines 15 and 26) until you have a barplot
that you are satisfied with.