are there any convenient functions to save the output?
like,
save("fig.pdf") # for pdf
save("fig.png") # for png
also, I spend some time reading the docs and could find a place indicating what is the recommended way to save the outputs, would be nice to have a section for that.