Home > Enterprise >  Equivalent of R's `rm(list=ls())` in Julia
Equivalent of R's `rm(list=ls())` in Julia

Time:01-30

Is there any equivalent to R's rm(list=ls()) (which removes every object in the global environment) in Julia?

CodePudding user response:

It is currently not possible. See Delete full workspace or one variable in julia for the explanation of the current status of the issue (in short - the currently recommended practice is to wrap the code you use in a module and Julia will allow you to replace this module).

  •  Tags:  
  • Related