You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am writing a mini R REPL for use in contexts where a full IDE (e.g.RStudio/postron) isn't appropriate/feasible.
Within the REPL I have been evaluating user code with the evaluate() function in the evaluate library. However, if the user were to user 'gganimate' elements with their ggplot(), there is no recordedPlot after evaluatino that I can save/store/present, rather a .gif is saved to the tmpdir.
Ideally i'd catch that .gif, much like the RStudio viewer pane does. I'd Ideally do this without having to inject custom R code onto the tail of the user code to fix the save location if gganimate is used as thatw ould require all kinds of custom processing of the user code to dete ct gganimate was used. Arer there any obvvious ways in which I can catch the tempfile created by gganimate?
The text was updated successfully, but these errors were encountered:
I am writing a mini R REPL for use in contexts where a full IDE (e.g.RStudio/postron) isn't appropriate/feasible.
Within the REPL I have been evaluating user code with the
evaluate()
function in the evaluate library. However, if the user were to user 'gganimate' elements with their ggplot(), there is no recordedPlot after evaluatino that I can save/store/present, rather a .gif is saved to the tmpdir.Ideally i'd catch that .gif, much like the RStudio viewer pane does. I'd Ideally do this without having to inject custom R code onto the tail of the user code to fix the save location if gganimate is used as thatw ould require all kinds of custom processing of the user code to dete ct gganimate was used. Arer there any obvvious ways in which I can catch the tempfile created by gganimate?
The text was updated successfully, but these errors were encountered: