# NOT RUN {
## Convert all .pdf graphics in the "figSW" directory
## into .png files and put the files in a "png" subfolder.
convert.g(path="figSW", from="pdf", to="png")
## Same, but convert to .jpg files.
convert.g(path="figSW", to="jpg")
## convert file "example.eps" in current path to ".pdf"
## and put it in same folder.
convert.g(fileroot = "example", create.folder=FALSE)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab