Description Usage Arguments See Also Examples
attach/detach a hash to the search path
1 2 3 4 5 | attach_hash(hash, name = deparse(substitute(hash)), ...)
detach_hash(...)
attach(what, name = deparse(substitute(what)), ...)
|
hash, what |
hash object to attach to the search path. |
name |
string; name for the environment on the search path |
... |
additional arguments passed to
|
base::attach()
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | h <- hash( a=1, b=2, c=3 )
attach_hash(h)
search()
detach_hash(h)
search()
hash:::attach( h )
b # 2
b <<- 25
b # 25
h
detach(h)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.