I have a question about the interaction of jobs with RStudio Viewer pane --- where you usually see plotly plots. I'm have a plotly object that I create in a job and keep updating it, and would like to be able to visualize the result while the job runs. I can save the object in an rds file and open it from the console, but I would really like it to be automatic and not require me to revisit the file every once in a while, e.g. whenever it is updated.
In short, I would like a job to present plotly objects on the Viewer.
Also, two related question:
- What can I use the Viewer pane for? can I view html files on? is there anything other than plotly that interacts with it?
- RStudio allows me to create as many display devices equivalent to the plot pane, by using dev.new(). It comes with two devices, the built in one and the external one in case that you "pop out" the plot pane, but I can create as many as I want. Can I do the same with the Viewer pane? I.e., can I create multiple devices of the same type as that of Viewer to present different plotly objects? that would be very useful.