From keitt@nceas.ucsb.edu  Fri Jul 21 19:40:01 2000
From: keitt@nceas.ucsb.edu (Timothy H. Keitt)
Date: Fri, 21 Jul 2000 11:40:01 -0700
Subject: [Rd] save/load hooks
Message-ID: <39789901.6E8B7656@nceas.ucsb.edu>

I'd like to suggest a small feature be added to R.  It would be nice if
"load" and "save" had function hooks for object initialization and
finalization, e.g.,

	load.hook <- function(x) UseMethod("load.hook")
	save.hook <- function(x) UseMethod("save.hook")

These would then be called on each object saved or loaded.  The default
method would do nothing.   This would allow saved objects to
reinitialize their state when loaded.

Cheers,
Tim

-- 
Timothy H. Keitt
National Center for Ecological Analysis and Synthesis
735 State Street, Suite 300, Santa Barbara, CA 93101
Phone: 805-892-2519, FAX: 805-892-2510
http://www.nceas.ucsb.edu/~keitt/
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] save/load hooks
Timothy H. Keitt