Hi Rob, 

Thanks for your answer. I use very similar approach with Emacs and ESS 
mode[1]: I've bound command "ess-eval-line-and-step" to "C-d" (CONTROL / 
COMMAND + D) to be able to send single line and "ess-load-file" to "C-c 
C-c" (double CONTROL / COMMAND + C) to reload the entire file. I don't like 
idea of reloading REPL, though. Not because it takes 5 commands (I can 
actually automate most of these keystrokes), but because this way you lose 
your current state. This may be really painful, especially when your 
computations took half an hour or so (which is often the case in image 
processing, recommendation engines, etc.)

I think, though, that your ideas combined with clear() function ([2]) from 
Tim's comment should work pretty well.  

[1]: https://github.com/emacs-ess/ESS/wiki/Julia
[2]: https://github.com/JuliaLang/julia/pull/7487 
<https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2FJuliaLang%2Fjulia%2Fpull%2F7487&sa=D&sntz=1&usg=AFQjCNEoxeApYEIgOlcR_uWjEDZtOieb8A>

Reply via email to