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 <[EMAIL PROTECTED]> 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?



______________________________________________ [EMAIL PROTECTED] 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

Reply via email to