Saving workspace

How can I save what I have typed in my workspace? I am using RStudio Version 1.2.1335 on a Mac.

It says on my screen "[Workspace loaded from ~/Documents/Technical/Rstuff/.RData]," but nothing I typed in a previous session appears. Further, in my Rstuff folder there is no folder ".RData."

I would also like to know how to retrieve work that I have saved.

.RData only stores memory objects present in your environment, the content of the R console never gets saved, you can find previously typed commands in the "history" panel but that is not the same.
If you want to save your work for later then you have to use a script file or a Rmarkdown file.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.