Search code examples
rubuntuworkspace

Retrieving Workspace in R


I am working with R on Ubuntu. When I was working I accidentally hit Ctrl-Z and it kicked me out of the workspace and I did not save my variables. Is there anyway to retrieve my old workspace?

Thank you.


Solution

  • Jump back into the still-running session via

      fg 
    

    i.e. bring the R session you suspended via Ctrl-Z back to the foreground.