Skip to content
Prev 300901 / 398506 Next

Workspace Question.

On 23/07/12 19:36, Michael Trianni wrote:
This has nothing to do with versions of R.  Whenever you start R,
     any previously saved image of the workspace is loaded (from a file
      called ".RData").  Your workspace/global environment will then include
     any objects that were in the workspace when you saved it.

     If you save the workspace when you exit R, then the previously saved
     image of the workspace (the ".RData" file) is overwritten.

     If objects that were in a previously saved image of the workspace are
     no longer present when you start R, then you must have removed them
     at some stage before saving the workspace.  Either that, or you removed
     the file .RData from the directory in which you are starting R.

     That's all there is to it.  The objects did not disappear by magic.
If you have backups of your file system then a copy of .RData (one
     that was made when you were using 2.12.0 or 2.14.0) can be restored
     from the backup and that will have the objects that you are looking 
for.

     If you don't have backups, then I am afraid that you are SOL. Those
     objects are gone for good.

         cheers,

             Rolf Turner