Skip to content
Prev 82767 / 398506 Next

Age of an object?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


In addition to what and how to associate time information
with an object, I imagine Trevor was also expecting that
it would be done automatically rather than require
the user to set the timestamp explicitly.
To that end, the addTaskCallback()  function allows
one to register a function that will be invoked at the
end of each top-level task.  In that function
call, one can update the timestamp on any (obviously) newly
assigned value.  That will give the same behaviour as in S-Plus
as there only top-level assignments are written to disk and so have
a file modification time.

  D.
Henrik Bengtsson wrote:
- --
Duncan Temple Lang                duncan at wald.ucdavis.edu
Department of Statistics          work:  (530) 752-4782
371 Kerr Hall                     fax:   (530) 752-7099
One Shields Ave.
University of California at Davis
Davis, CA 95616, USA
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (Darwin)

iD8DBQFDoCzy9p/Jzwa2QP4RAqwUAJ9MCR4cJjX2zPbAnNL4EZnPr8koFQCfa3k1
CBKAtF8BZjipTDBsEzlmHSg=
=27z6
-----END PGP SIGNATURE-----