[R] time-ordered object list

Liaw, Andy andy_liaw at merck.com
Wed May 25 15:28:39 CEST 2005


As Uwe said, you can't really do that in R.  S-PLUS can do that because it
stores each object as a separate file on disk, thus you can get time stamp
from the file.  In R everything is in the global environment that can be
saved to a single workspace (.RData by default).

There have been some discussions quite a while ago on how time stamping
objects in R can be done.  You may want to search the archive.  The mbvutils
package has tools for organizing objects, but I don't know if it provides
time stamps.

Andy

> From: Robert Kinley
> 
> It's often useful to view objects in time order.
> 
> In Splus I can do this with 
> 
> > objects.summary(order = "dataset.date")
> 
> which delivers this sort of thing ...
> 
>                 data.class storage.mode    extent object.size 
> dataset.date 
> 
>   reference      data.frame         list    25 x 4        
> 1700 2004.09.13 
> 15:43
>           x      data.frame         list    15 x 4        
> 1175 2004.09.13 
> 15:43
>       lower         numeric       double       100         
> 841 2004.10.05 
> 11:10
>       upper         numeric       double       100         
> 841 2004.10.05 
> 11:10
>     barnard        function     function        12       
> 20013 2005.04.08 
> 13:09
>        sim7        function     function         5        
> 3657 2005.04.14 
> 15:36
> .Last.fixed       character    character         1          
> 52 2005.04.14 
> 15:38
>      runsim        function     function         6        
> 3952 2005.04.14 
> 15:38
>   last.dump            list         list         8        
> 1186 2005.05.12 
> 11:57
> 
> 
> How can one obtain something similar with  R ?       [ R 
> 2.1.0 / windows 
> 2000 ]
> 
>                 cheers 
>                                 Bob Kinley
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html
> 
> 
>




More information about the R-help mailing list