Skip to content
Prev 386952 / 398503 Next

Why is rm(list=ls()) bad practice?

On 21/01/2021 5:20 p.m., J C Nash wrote:
I think that's exactly the concern.  I doubt it would have happened in 
this instance, but in other cases, people might copy and paste a 
complete example before reading it.  It's safer to say:  "Run this code 
in a clean workspace:", rather than cleaning it out yourself.

Duncan Murdoch


However, one of the
Yes, start R with

   R --vanilla

Duncan Murdoch