Is it possible to make a base Graphics-library plot portable in the same way that ggplot plots are portable? That is, you can pass the plot to various functions and call print(plot) without encountering an error.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The pair of functions
recordPlot()andreplayPlot()do something similar to, but not exactly like this. One difference is that, unlike withggplot2andlatticegraphics, the figure must be first plotted to a graphics device before it is recorded.