simon gatehouse
2007-Mar-12 01:17 UTC
[R] Tracking when an object/function was modified (Mona Kanaan)
You might find this useful. I have modified the R 'edit' function by adding attr(x,"date.modified") <- substring(Sys.time(),1,19) before the last line. I then changed to ls() to sort functions, paste function name and time stamp from the contents of the "date.modified" attribute before output. Not particularly tidy but functional. Only useful for functions that go through the editor.