[R] View saved workspace commands

Uwe Ligges ligges at statistik.tu-dortmund.de
Tue Apr 16 00:50:47 CEST 2013



On 15.04.2013 21:53, Sourabh Sinha wrote:
> R version : 2.15.2
> Windows: 7 32-bit
>
> Hello,
>     I was trying to load a saved workspace image from the working directory.
> I issued the command load('image_name') in R console. It did not throw any
> error, but then it returned the prompt. I want to view the commands (or
> history) I typed there, how do I do that? Pressing up arrow does not bring
> any of this workspace command, it rather brings older ones, same as  the
> output of history(). Any help will be appreciated.


To load the workspace, use load(), for the history, use loadhistory().

Uwe Ligges

> N.B. To save the workspace I pressed the save button on RGui.
>
> Thanks.
>



More information about the R-help mailing list