Modify comment
Ask to save the current workspace to .Rdata file
Validate input for saving to .Rdata file
Select all positive answers as being ‘yes'
Select all negative answers as being ’no'
If ‘yes’ to saving the data, save the object data
Clear out all objects in global workspace