a complete newbie to R here. Learning through trial and error. Most bugging issue is saving and loading workspace in the basic R Gui, I haven't started working with R Studio yet. I'm learning as I go. When saving a workspace - which through research I'm told saves all the objects therein - when using the traditional way of File>Save workspace> directory.RData it saves all right to the computer file directory. I also use the command save.image('.RData') when it comes to saving the workspace. The issue is when it comes to loading a previous R session. When I use File>load workspace or even load('<directory.Rdata'>) all I get is a blank screen with this message:
[Previously saved workspace restored]
No data appears below the above message in R. I only manage to retrieve my work if I save it as a text file through Save to file>(directory).txt. Thereafter I open notepad and copy paste to R. This means all graphs drawn in tthe previous session get lost despite this being a tedious job all the time.
I would appreciate if someone advised me step by step on how to save and load work in R. I have tried all online suggestions including from this forum.
use of code to load not working despite multiple enter tries(>)
Ps: when closing basic R Gui, I always click yes to the prompt "Save workspace image" even after saving with the code save.image() or File>save workspace techniques. But still, I can't retrieve my workspace either way. Even when I click 'no' to the prompt, I'm still unable to load workspace in a future R session.