Learn R Programming

strvalidator (version 0.3.0)

saveObject: Save object

Description

Saves an object in the specified environment.

Usage

saveObject(name, object, parent = NULL,
    env = parent.frame())

Arguments

name
character giving the name of the object.
object
object to save.
parent
object specifying the parent GUI object to center the message box.
env
environment in wich to save and search for existing objects.

Value

  • logical TRUE if object was saved FALSE if not.

Details

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.