[julia-users] Re: Auto save/write Julia command history/log

2016-03-05 Thread James Chen
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 > hi

[julia-users] Auto save/write Julia command history/log

2016-03-05 Thread James Chen
Hi, I am looking for replicate matlab command "diary" function in julia. diary Save Command Window text to file The ".julia_history" file is not friendly to read. Is there any quick way to save or write Julia command history/log during a certain period (for example, from start until exit) to

[julia-users] Re: How to change Pkg.dir and homedir in Julia permanently?

2016-03-01 Thread James Chen
PKGDIR > > > http://docs.julialang.org/en/release-0.4/stdlib/pkg/#Base.Pkg.dir > > > On Tuesday, March 1, 2016 at 3:22:20 AM UTC+11, James Chen wrote: > >> Hi, >> I am trying to change Pkg.dir and homedir for Julia permanently, as the >> default installation set

[julia-users] Re: How to change Pkg.dir and homedir in Julia permanently?

2016-03-01 Thread James Chen
-drive (4MB.) On Tuesday, March 1, 2016 at 7:44:57 PM UTC+8, Tony Kelman wrote: > > You could also put these settings in a juliarc.jl startup file. > > On Monday, February 29, 2016 at 7:58:11 PM UTC-8, paul.so...@gmail.com > wrote: >> >> On Monday, 29 February 2016

[julia-users] Re: How to change Pkg.dir and homedir in Julia permanently?

2016-03-01 Thread James Chen
The ENV variable works for me. Thank you very much, Paul! Have a nice day. On Tuesday, March 1, 2016 at 11:58:11 AM UTC+8, paul.so...@gmail.com wrote: > > On Monday, 29 February 2016 17:22:20 UTC+1, James Chen wrote: >> >> Hi, >> I am trying to change Pkg.dir and homed

[julia-users] How to change Pkg.dir and homedir in Julia permanently?

2016-02-29 Thread James Chen
Hi, I am trying to change Pkg.dir and homedir for Julia permanently, as the default installation set them to a net-drive in my Win7. I can use ENV[""] = to set them temporarily. However, every time I exit Julia and restart it, the Pkg.dir and homedir change back to the default net-drive director