To improve the efficiency of a process I am writing I would like to cache
results. So I would like a data structure like a hash table.
So if I call Z <- f(Y) I can cache Z associated with Y: CACHE[Y] <- Z
I am stumped. I expected to be able to use a list for this but I cannot
figure how....
cheers
Worik
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.