[Rd] Private environments and/or assignInMyNamespace
Hadley Wickham
h.wickham at gmail.com
Tue Feb 12 15:03:48 CET 2013
> Here my question: Would it be an option to place the widgets in a private
> environment of my plugin package (then I would have to learn how to create
> one and work with it), or won't they be found that way?
It sounds like you want to maintain state across function calls within
your package, and a private environment is a good solution. See the
notes on local() at
https://github.com/hadley/devtools/wiki/Environments for a few
details.
Hadley
--
Chief Scientist, RStudio
http://had.co.nz/
More information about the R-devel
mailing list