I have a function which plots 4 graphs based on a data file, each in distinct page of a pdf file. Currently, I need to get one handler for all of them, I mean I prefer my function returns a handler for all these graphs instead of saving them as a pdf file. Is it possible?
It should be noted that I use plot(.), not ggplot2.
Thanks.