## Not run:
# # plotExpr example:
# example1 <- plotExpr(c("plot(1:10)", "plot(4:40)", "x<-3", "plot(2:23)"),
# c("pdf", "ps"), "example1", "myPrefix")
# # There should now be a folder "example1" in the current
# # working directory containing pdf and ps files and myPrefix-log.xml, ie
# list.files("example1")
#
# # plotFunction example:
# example2 <- plotFunction(c("plot", "barplot", "hist"), c("pdf", "ps"),
# path = "example2")
# list.files("example2")
#
# # A bigger example:
# # require(grid)
# # gridExample <- plotFunction(ls("package:grid"), c("pdf", "png", "ps"),
# # path = "gridExample")
# ## End(Not run)
Run the code above in your browser using DataLab