editData icon indicating copy to clipboard operation
editData copied to clipboard

Get the code back after modification

Open ColinFay opened this issue 8 years ago • 1 comments

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

ColinFay avatar Sep 25 '17 07:09 ColinFay

Maybe without getting the code in your script, something like how RStudio "Import Dataset" works with the code on the bottom right corner :

capture d ecran 2017-09-25 a 09 46 28

ColinFay avatar Sep 25 '17 07:09 ColinFay