Re: [R] Dating Objects

From: Paul Roebuck <roebuck_at_odin.mdacc.tmc.edu>
Date: Sat 13 Aug 2005 - 00:24:31 EST

On Fri, 12 Aug 2005, Jason Skelton wrote:

> I'm trying to carryout the equivalent of ls -l in R
> to give some date/time label to each of my objects
>
> If the case is that there is no equivalent, is it
> possible to list all objects in an environment that
> share a common component so that the common component
> is also displayed?
>
> I'm attempting to do the following
>
> object$time <- Sys.time()
>
> for every object i've created which although tedious
> appears to work
>
> However I've no idea how if it is possible to list all
> the objects by $time or extract the object name & $time
> from all objects simultaneously so I can compare them.

Not really following why you want to do this so it's hard to suggest something. Were you attempting to track mtime or ctime?

Perhaps instead you could describe the larger problem you're trying to solve so there's more context to work with.

> Or am I just wasting my time?

Most of us probably are...



SIGSIG -- signature too long (core dumped)

R-help@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 Received on Sat Aug 13 00:35:55 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 15:16:41 EST