Description Usage Arguments Value Note Author(s)
This function takes the value of an object and stores it
within a specified environment. This is similar to simply
using the assign
function, but will not overwrite
existing values in the specified environment. It
accomplishes this by appending a prefix to the name of
the variable until the name becomes unique.
1 | store.object(obj, envir, name = NULL, prefix = ".")
|
obj |
any object |
envir |
an environment object, which will contain the object with the assigned name |
name |
a character-string specifying the name that the object will be stored as in the specified environment |
prefix |
a character string specifying the prefixes to append to names that already have matches in the destination environment |
a character-string specifying the name of the object in the destination environment
This method does not correct invalid names. That is, there is no test to determine whether the submitted name is valid.
Matt Owen mowen@iq.harvard.edu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.