A number of packages do this. See e.g. 'sm' and its function
sm.options() for one implementation.
On Wed, 3 Feb 2010, Duncan Murdoch wrote:
On 03/02/2010 8:07 AM, Chris Brien wrote:
Dear all,
I am developing a package foo that has a namespace. I would like to be able
to provide an option,
On 03/02/2010 8:07 AM, Chris Brien wrote:
Dear all,
I am developing a package foo that has a namespace. I would like to be able to provide an option, say opt, that
1) is set to a default value when the package is loaded
2) can be set to a different value by the package user
3) is used by func