> savehistory(file_name)
> loadhistory(file_name)
As you can see in screenshot above we wont get access to objects from previous sessions but we can browse all commands (like dim in screenshot) from the saved command history file (here histFile). We just need to press the 'up arrow key'.
Note: It makes more sense to add timestamp and small text while saving the file.
Now lets see how can we save object from existing session in order to access them again.
> save.image('Image_name')
> load('Image_name')
As you can see in the screenshot above we can access the objects from saved session.
No comments:
Post a Comment