Re: [R] sorting by creation time in ls(), , * This message: [ Message body ] [ More options

From: Carl Witthoft <carl_at_witthoft.com>
Date: Wed, 18 Mar 2009 18:09:59 -0400


You could do it indirectly by saving your command history (a good idea in any case :-) ), doing {something} to dump it to a file, and sorting/seeking to see in what order you created items.

Or, if you're really creative ^_^, write some sort of script/function which automatically creates a metafile (e.g. if the variable is VAR, the metafile is .VARtime) from the output of date().

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
> time?
>



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Wed 18 Mar 2009 - 21:12:51 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 18 Mar 2009 - 22:30:30 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive