Hello,

I'm still hoping my issue is preventable and not worthy of a bug/crash
report, hence my post is in 'help'. Anyway, I'd like to know how to reset
the console so it is clear of all residual effects caused by previous
scripts. Details:

I run a script once and it runs successfully (but very slowly). The script
uses fairly sizable data. No problem so far.

Then I run the same exact script again and the console eventually crashes.
Naturally, I thought it was the size of the data so I:

1) run script successfully (which includes a plot)

2) do this:
dev.off()
rm(list=ls(all=TRUE))
gc()

3) run script again

...and it still crashes. There isn't an R error or anything, I just get a
Microsoft error report request window and the console goes away.

However, if I:

1) run script successfully

2) shut down, and reopen console

3) run script again

...everything runs as expected and the console does not crash.

If the script runs successfully the first time and I'm clearing all
available memory (I think) what is 'remaining' that I need to reset in the
console (that restarting the console solves/clears out)?

PS - Because the script runs successfully, I'm thinking the script itself
is not all that important. I'd prefer an answer that indicates generally
how to reset the console. Basically I'm loading some data, manipulating the
data including a log transformation, doing a gam fit (family="binomial"),
and finally I plot the data from the fit. Interestingly, if I set family to
"gaussian" or if I do not log transform the data, the console does not
crash. Or should I post a crash/bug?

Regards,

Ben

	[[alternative HTML version deleted]]

