Thank you for the reply, Steven. 

The command above does return a few recent input. 

The notebook suggestion is great, meets what I hope to do. 

On Saturday, March 5, 2016 at 10:22:26 PM UTC+8, Steven G. Johnson wrote:
>
> Good question.  I dug around, and it turns out that you can get the 
> history as an array of strings via
>
> Base.active_repl.interface.modes[1].hist.history
>
>
> but it would be nice to have a documented way to get at this kind of 
> information.  A pull request with some feature along these lines would be 
> welcome.
>
> Note that if you find yourself wanting to save a log of your session, I 
> would highly recommend using an IJulia notebook instead.  That saves the 
> commands and the output (including plots), and allows you to add formatted 
> annotations.
>
> Steven
>

Reply via email to