Bogdan Lataianu
2011-Aug-04 15:55 UTC
[R] How to see the previous commands after save workspace/load workspace ?
I did save workspace and when I load it, I can see the variables, using ls(). But I cannot see the commands from the program I saved. How to do that?
R. Michael Weylandt
2011-Aug-04 20:54 UTC
[R] How to see the previous commands after save workspace/load workspace ?
Check out ?savehistory in utils. Also, I think most GUI's do this - I can certainly attest that RStudio does Michael Weylandt On Thu, Aug 4, 2011 at 11:55 AM, Bogdan Lataianu <bodinsoul@gmail.com>wrote:> I did save workspace and when I load it, I can see the variables, > using ls(). > But I cannot see the commands from the program I saved. How to do > that? > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >[[alternative HTML version deleted]]
Petr PIKAL
2011-Aug-05 06:40 UTC
[R] Odp: How to see the previous commands after save workspace/load workspace ?
Hi> > I did save workspace and when I load it, I can see the variables, > using ls(). > But I cannot see the commands from the program I saved. How to do > that?Perhaps you can check .Rhistory file. Regards Petr> > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guidehttp://www.R-project.org/posting-guide.html> and provide commented, minimal, self-contained, reproducible code.