saveObject | R Documentation |
Save an object in the specified environment.
saveObject(
name = NULL,
object,
parent = NULL,
suggest = "",
env = parent.frame(),
remove = NULL,
debug = FALSE
)
name |
character giving the name of the object to save. If NULL a dialogue asks for a name. |
object |
object to save. |
parent |
object specifying the parent GUI object to center the message box. |
suggest |
character string for a suggested name for the object to save/re-name. |
env |
environment in which to save and search for existing objects. |
remove |
character string for a named object to remove (e.g. the original object if re-naming). |
debug |
logical indicating printing debug information. |
Saves an object with the given name in the specified environment if it does not exist. If the object exist a message box ask if the object should be overwritten. The function can also be used to re-name if 'name' is not provided (NULL). The 'suggest' provides a suggested name for the object to re-name.
logical TRUE if object was saved FALSE if not.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.