So create a checkpoint...
-myfile.R-
checkpoint.file <- "checkpoint_appname.RData"
if (!file.exists(checkpoint.file) {
## Do compute intensive processing...
{
my.seed <- 1234
ans <- long.comp( my.seed)
}
objects2save <-
the problem with restarting R is that I then have to re-execute the program
until the point where I wanted to debug, which is a very long-waiting
time...
On Tue, Dec 6, 2011 at 12:17 PM, Duncan Murdoch wrote:
> On 06/12/2011 1:10 PM, Michael wrote:
>
>> i.e. how to make sure the function that wa
On 06/12/2011 1:19 PM, Michael wrote:
Thanks a lot!
But how about removing "all the functions" in the whole "myprogram1.R"
source file?
There's no way for R to know what you did with those functions, so no
general way to do that.
But if you just source it again, it will overwrite the ones i
Thanks a lot!
But how about removing "all the functions" in the whole "myprogram1.R"
source file?
The reason for asking this is of course, after I made some changes, I saved
it, and then I wanted the functions to be reloaded into memory so that I
can do "mtrace", or "browser" etc.
Thank you!
On
On 06/12/2011 1:10 PM, Michael wrote:
i.e. how to make sure the function that was loaded into workspace/memory is
the version that I edited latest... not some stale version...
This might solve some of my breakpoint and browser/debug problem, even the
RStudio problem that I've met
You can u
i.e. how to make sure the function that was loaded into workspace/memory is
the version that I edited latest... not some stale version...
This might solve some of my breakpoint and browser/debug problem, even the
RStudio problem that I've met
thanks a lot!
[[alternative HTML version
6 matches
Mail list logo