This is probably not possible (automatic detection of disk changes without intervention or the launch of at least one line).
R must be read in the memory function, so the change on the disk will not be reflected in the workspace without rebooting your functions.
If you are developing R functions, some of the clutter during your development process is probably inevitable, but maybe I could suggest you try creating an R package to accommodate your functions?
This has the advantage that you can reliably document your functions using lazy loading to immediately access your functions / datasets without searching for them.
Do not be afraid to make a package easily with package.skeleton () and you do not need to go for CRAN, but it can be for your personal use without distribution! Just have fun!
Try to make some mess during development, knowing that you are working on your goal and fighting a good fight for organizing your code and documentation!
We are only imperfect people in an imperfect world, but we mean well!
please delete me
source share