## Not run:
# #convert SVG to PNG
# convertGraph("./example.svg", "./example.png", path = "path to executable phantomJS" )
#
# #convert PNG to JPEG
# convertGraph("./example.png", "./example.jpeg", path = "path to executable phantomJS" )
#
# #convert JPEG to PDF
# convertGraph("./example.jpeg", "./example.pdf", path = "path to executable phantomJS" )
# ## End(Not run)
Run the code above in your browser using DataLab