[R] sorting by creation time in ls()
tplate at acm.org
Tue Mar 17 22:23:47 CET 2009
R doesn't keep track of when objects were created, so that's not possible.
If this is important to you, you could look at the 'trackObjs' package, which does this and also stores individual objects in individual files (and writes them to the file when they are changed in R).
-- Tony Plate
Alexy Khrabrov wrote:
> When trying to remember what did I do in the session, especially after
> coming back to it after a few days, I'd like to mimic Unix's ls -ltrh --
> does R retain the timing a certain variable is created? If not, would
> it make a useful addition, to have ls with an option to sort by creation
> R-help at r-project.org mailing list
> PLEASE do read the posting guide
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help