See the original description in base::get0
.
1 2 3 4 5 6 7 |
1 2 3 4 5 6 7 8 9 | # get function from namespace instead of possibly getting
# implementation shipped with recent R versions:
bp_get0 = getFromNamespace("get0", "backports")
bp_get0("a")
bp_get0("a", ifnotfound = 0)
foo = 12
bp_get0("foo")
|
NULL
[1] 0
[1] 12
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.