How does one remove variables from workspace?

1,665 views
Skip to first unread message

Leo Alekseyev

unread,
Jun 14, 2012, 10:53:59 PM6/14/12
to juli...@googlegroups.com
Does Julia have an equivalent of R's rm() or Matlab's clear?  If I have a variable foo, how do I clear it so that I can load function foo defined in my source file?  If I have created 5 versions of function foo(.....) with different signatures, how do I nuke one or all of them? 


Stefan Karpinski

unread,
Jun 15, 2012, 1:42:34 AM6/15/12
to juli...@googlegroups.com
Although this is kind of annoying, at the moment, the only way to do this is to restart julia.

Viti VT

unread,
Feb 5, 2014, 4:53:18 PM2/5/14
to juli...@googlegroups.com

I suppose the same holds for types and const definitions? 
   or there is some way to "undefine" a type or a constant ? 
( I get a lot of warnings because of that )  
Reply all
Reply to author
Forward
0 new messages