trestletech / shinyAce

Integrating the Ace editor with Shiny.
http://trestletech.github.io/shinyAce/
Other
217 stars 54 forks source link

Using shinyAce in browser while interacting with the local R session. #77

Open bes827 opened 4 years ago

bes827 commented 4 years ago

I am using R through a gui interface that also allows code editing/modification (r commander), however it lacks the elegant code editing options, such as autocompletion, adding second brackets, auto populate variables using dataset$, etc....

Can I use shinyAce to edit the code in browser and copy it to r commander? there are a lot of online r code editors but I was hoping shintAce can interact with the local R session and recognize functions from loaded packages, recognize the datasets, etc...

I want to guess that this is doable as the shinyAce seems to be really powerful, but does it require complex coding or can be done by average R users? and if there are any instruction available to do this task?

thank you

vnijs commented 4 years ago

It is possible but not straight forward. I do something like this in Radiant which you might find of interest.

https://radiant-rstats.github.io/docs/index.html