Re: [R] dataset.date, date of an object

About this list Date view Thread view Subject view Author view Attachment view

From: Roger D. Peng (rpeng@jhsph.edu)
Date: Wed 05 May 2004 - 22:22:48 EST


Message-id: <4098DC98.1010100@jhsph.edu>

What exactly do you mean by "saved"? Do you mean "modified"? I
don't think there is a way to tell when the last time an object
was modified. However, if you use the save() function and save
an object to a file, then you can just look at the time stamps on
the file.

-roger

Jason Watts wrote:

> Ok, I'd like the date an object was saved. Here's what I used to do in S-PLUS:
>
>
>>dataset.date('my.dataframe')
>
> [1] "Tue May 4 10:16:00 2004"
>
>
> Prof Brian Ripley <ripley@stats.ox.ac.uk> wrote:
> What do you mean by `a permanently stored version of a dataset'?
> If you mean a save()d version, use file.info() on the saved file.
>
> R does not store objects `permanently' as S-PLUS (sic) does, so your exact
> phrasing is meaningless.
>
> On Tue, 4 May 2004, Jason Watts wrote:
>
>
>>I'm looking for a function that returns the time at which a permanently
>>stored version of a dataset (object) was last modified, just like
>>dataset.date in S-Plus. Any suggestions?
>
>

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Mon 31 May 2004 - 23:05:07 EST