swarm-lab / editR

A Rmarkdown editor with instant preview
GNU General Public License v3.0
349 stars 30 forks source link

Just a thought. How about a JS based solution? #27

Open itissid opened 6 years ago

itissid commented 6 years ago

I was wondering if you guys thought of a JS based solution when you did this project. Off the top of my head something with electron.js and polymer.js?

For example, one could imagine using Polymer.js to render parts to the document that change and use an Electron.js mini browser to display the document. Maybe one could design it to make rendering large documents on HTML really fast. And it would be platform independent. I think there would be two parts I wanted to think about here:

  1. How the compilation from Rmd to html would change to accommodate this. What kind of material/examples can I read to flesh this thought out better?
  2. Could concepts from your project be applied to the design of such a hypothetical JS app?

If you could help bounce some ideas here, I would be thankful..

sjmgarnier commented 6 years ago

@itissid Thanks for your input. However I have completely stopped the development of editR (not enough time + R Notebooks in RStudio pretty much solve the problem I wanted to address with editR). I'll keep this open in case someone decides to take over this project one day.