coatless / quarto-webr

Community developed Quarto Extension to Embed webR for HTML Documents, RevealJS, Websites, Blogs, and Books.
https://quarto-webr.thecoatlessprofessor.com/
395 stars 19 forks source link

Create an .Rhistory file and offer for it to be downloaded #148

Closed coatless closed 5 months ago

coatless commented 10 months ago

After each piece of code is executed, add it into an R history array.

Add a button that allows the .Rhistory for the session to be downloaded:

Format with:

Rhistory-<document-title>-<timestamp>.R

Maybe the download button needs to be added to the global toolbar for the document?