I opened my Rstudio and found that all my previous work has gone and I cannot retrive it.
I uploaded a new data and whenever I run a command, there is an error that the object is missing and cannot read my variables.
Any help please?
Thanks!
I opened my Rstudio and found that all my previous work has gone and I cannot retrive it.
I uploaded a new data and whenever I run a command, there is an error that the object is missing and cannot read my variables.
Any help please?
Thanks!
When you close RStudio, it will unload all objects in memory. This means that when you open R again to run your project you must run the code you used to create those objects to begin with.
If you would like to set it so that your objects are not unloaded after closing RStudio, you can change the setting at Tools > Global Options > General - Workspace - Then check Restore .RData into workspace at startup.
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.