Save an object in the specified environment.
saveObject(name = NULL, object, parent = NULL, suggest = "",
env = parent.frame(), remove = NULL, debug = FALSE)
character giving the name of the object to save. If NULL a dialogue asks for a name.
object to save.
object specifying the parent GUI object to center the message box.
character string for a suggested name for the object to save/re-name.
environment in wich to save and search for existing objects.
character string for a named object to remove (e.g. the original object if re-naming).
logical indicating printing debug information.
logical TRUE if object was saved FALSE if not.
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.