Alternative way to read data everytime we open a new R Session



Hi, Everytime I work on R I face fatal error issue after working for a while. So I had to close the session and rerun the entire code. Is there an alternate way to save the datasets created like I don’t need to run read.csv type commands each and every time I open the session.


If your session is getting destroyed, then you need to rerun.
Or else you need to continuously save your session data which might not be a good way to do.


Thanks Sonny for the reply.
So even if I save my code I had to rerun everything right if I open a new R session?


Yes, unless you are saving the entire workspace