editData
editData copied to clipboard
Get the code back after modification
This addin is a cool idea !
I can see a drawback though: the strength of R is that, when a change is made, you know what this change is, as you write code. With this addin you lose track of the changes you're making in your dataset, and if you come back to your script a month later, there's a huge probability you won't remember what you've changed — the same applies if you use this and share your code.
My idea then would be that when using this addin, you get the code used to make the change straight into your script, so that you can come back / share your code easily.
This can easily be managed with the {rstudioapi} package, I think.
Best, Colin
Maybe without getting the code in your script, something like how RStudio "Import Dataset" works with the code on the bottom right corner :
