## Not run:
# # Create sets to compare (1st and 3rd are different)
# comp1 <- plotExpr(c("plot(1:10)", "plot(4:40)", "x<-3", "plot(2:23)"),
# c("pdf", "ps"), "myPrefix", "comp1")
# comp2 <- plotExpr(c("plot(1:11)", "plot(4:40)", "x<-3", "plot(5:15)"),
# c("pdf", "ps"), "myPrefix", "comp2")
# compExpr <- compare(comp1, comp2)
# # All the diff output has been placed in "comp1" (the test directory)
# compExpr
# # For a better way of viewing this, see ?writeReport
# ## End(Not run)
Run the code above in your browser using DataLab