att / rcloud

Collaborative data analysis and visualization
http://rcloud.social
MIT License
432 stars 142 forks source link

"Watch session" #146

Open cscheid opened 11 years ago

cscheid commented 11 years ago

It would be phenomenal to attach viewers to a live running session so you can do collaborative data analysis for real. How could we possibly make this work?

gordonwoodhull commented 10 years ago

Like to do some form of this for 1.2

gordonwoodhull commented 10 years ago

Think this is a dupe of #637 following a live notebook, which spells it out more.

gordonwoodhull commented 10 years ago

I think the difference between this and #637 following a live notebook is that this also follows the results on someone else's session, which shares some functionality with #777 session management.

gordonwoodhull commented 4 years ago

I was thinking about this feature in the context of the feature matrix (both Databricks and Jupyter have this), and realized that it requires the same core functionality as #777 session management.

Namely, cell results must be buffered, marshaled and played back outside of a session connection.

All the usual OCAP caveats apply: if there are side effects in the browser beyond output, these need to be encapsulated. I guess that would mean storing functions with closures in the queue on the R side. Like deferred results from the old days, only it's deferred browser side effects in general.