Description Usage Arguments Details Examples
Call dont.lock.me()
during a .onLoad
to stop the namespace from being sealed. This will allow you to add/remove objects to/from the namespace later in the R session (in a sealed namespace, you can only change objects, and you can't unseal a namespace retrospectively). There could be all sorts of unpleasant side-effects. Best to leave it to maintain.packages
to look after this for you...
1 2 | # default of env works if called directly in .onLoad
dont.lock.me( env=environment( sys.function( -1)))
|
env |
the environment to not lock. |
dont.lock.me
hacks the standard lockEnvironment
function so that locking won't happen if the environment has a non-NULL dont.lock.me
attribute. Then it sets this attribute for the namespace environment.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.