I know that at the end of an R session I'm given the option to save
the current *state* of the session.
But I would like to save the entire sequence of inputs that took place
during the session, so that I can play them back later, and not only
be left in the same state I was at the time of saving
On 16/12/2010 9:43 AM, Roy Shimizu wrote:
I know that at the end of an R session I'm given the option to save
the current *state* of the session.
But I would like to save the entire sequence of inputs that took place
during the session, so that I can play them back later, and not only
be left
On Dec 16, 2010, at 9:43 AM, Roy Shimizu wrote:
I know that at the end of an R session I'm given the option to save
the current *state* of the session.
But I would like to save the entire sequence of inputs that took place
during the session, so that I can play them back later, and not only
Roy,
In addition to previous responses, another way of achieving this is to only
work from scripts. I rarely type anything directly into R, just edit scripts in
an editor and then execute the entire script (or parts of the script) from
within the editor.
This way of working provides backup,
Center
Intermountain Healthcare
greg.s...@imail.org
801.408.8111
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
project.org] On Behalf Of Roy Shimizu
Sent: Thursday, December 16, 2010 7:44 AM
To: r-help@r-project.org
Subject: [R] How to save play back
Thank you all. I experimented with the various suggestions you
proposed. Saving the session history is indeed easy (savehistory).
The problem is the playback. I didn't find a reliable method. Plus,
I now realize that the very idea of playing back a saved session is,
in general, a bad one,
Saving the session history is indeed easy (savehistory).
The problem is the playback. I didn't find a reliable method.
Well, you could simply source() the .Rhistory file (or the file you
saved under some other name). But as you already poitned out - it's
better to go with scripts to begin
7 matches
Mail list logo