Displaying 2 results from an estimated 2 matches for "restorerecordedplot".
2018 Apr 03
1
[FORGED] recordPlot/replayPlot not working with saveRDS/readRDS
...te.
Ideally, maybe we (R core) would provide an R level API to a
"TRUE/FALSE" valued version of checkValidSymbolId() or its
caller, so that *from R code* one could check if the
recordedplot 'x' passed to replayPlot() with its external
pointers needs to be fixed up by
x <- restoreRecordedPlot(x)
or not.
But that would be another topic I'd not get envolved deeply just now.
Martin
> Paul
>
> On 03/04/18 05:23, Winston Chang wrote:
> > The documentation for recordPlot says the following:
> >
> >> As of R 3.3.0, it is possible (again) to replay a plot...
2018 Apr 02
3
recordPlot/replayPlot not working with saveRDS/readRDS
The documentation for recordPlot says the following:
> As of R 3.3.0, it is possible (again) to replay a plot from another R session using, for example, saveRDS and readRDS.
However, I haven't been able to save and restore a plot displaylist
and have it work within the same R session, using R 3.4.3 or 3.3.3.
Here's an example:
# Save displaylist for a simple plot