<quote> Well it sounds like you won't lose any work, but you will lose
some time. But why not open another session of R for R-help questions?
Then you're never in any danger. I often have four or five instances of
R running for different projects.
Hadley
</quote>
Well for one thing you turkey, OS X will not under normal circumstances
open two instances of a given app. Don't be Windows-centric.
And as Gabor said, why post bad code in the first place? rm(list=ls())
is practically a cliche precisely because it's nuclear and should never
be used anywhere.
Typical code listed in package help files may end with unlink([stuff]),
which makes far better sense than, e.g. unlink(*.*) .
Carl
______________________________________________
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.