Use lexical scope instead of environment for mutable state
commita80e549c82b7e221b152e830d2fefcbad37d719d
authorRoger D. Peng [audrey] <rpeng@jhsph.edu>
Tue, 19 Aug 2008 13:15:42 +0000 (19 09:15 -0400)
committerRoger D. Peng [audrey] <rpeng@jhsph.edu>
Tue, 19 Aug 2008 13:15:42 +0000 (19 09:15 -0400)
tree71137d389e2f907f7a41e5d1790bd756756df719
parent53140a6a60145d5bf811cf142680dbed1defe276
Use lexical scope instead of environment for mutable state

Instead of manipulating elements of the 'metaEnv' environment, use
lexically scoped functions to update "private" variables 'dbmap' and
'dbfilesize'.  This is slightly cleaner because there is a
well-defined interface.
R/filehash-DB1.R