[julia-users] Re: Opening Julia files on IJulia?

2015-10-05 Thread David P. Sanders
Though I should say that I also would not recommend doing this for serious 
work, and suggest using a proper editor like Atom instead.
Look here for the right packages to install (still rather alpha):

https://github.com/JunoLab/atom-julia-client/tree/master/manual

El lunes, 5 de octubre de 2015, 14:53:07 (UTC-5), David P. Sanders escribió:
>
> Actually in the latest versions of the notebook (maybe just Jupyter 4? or 
> maybe IPython 3 too), you can just open a normal file by clicking on its 
> name 
> from the Notebook dashboard. This will drop you into a CodeMirror editor 
> just as if it were a code cell, and you can edit and save the file.
> For example, this works well for Julia files (.jl).
>
> El lunes, 5 de octubre de 2015, 9:40:13 (UTC-5), Marcio Sales escribió:
>>
>> Thanks for your replies but I meant actually openning them for edition, 
>> like when you're working on contributions to a package. I know that 
>> Include() executes a .jl file but doesn't open it for edition does it?
>>
>>>
>>>
>>>
>>>

[julia-users] Re: Opening Julia files on IJulia?

2015-10-05 Thread David P. Sanders
Actually in the latest versions of the notebook (maybe just Jupyter 4? or 
maybe IPython 3 too), you can just open a normal file by clicking on its 
name 
from the Notebook dashboard. This will drop you into a CodeMirror editor 
just as if it were a code cell, and you can edit and save the file.
For example, this works well for Julia files (.jl).

El lunes, 5 de octubre de 2015, 9:40:13 (UTC-5), Marcio Sales escribió:
>
> Thanks for your replies but I meant actually openning them for edition, 
> like when you're working on contributions to a package. I know that 
> Include() executes a .jl file but doesn't open it for edition does it?
>
>>
>>
>>
>>

[julia-users] Re: Opening Julia files on IJulia?

2015-10-05 Thread Steven G. Johnson


On Monday, October 5, 2015 at 11:28:30 AM UTC-4, Marcio Sales wrote:
>
> That's a bummer. IJulia doesn't have the problems of the other editors. 
> For example, Juno is not working with 0.4, Emacs is tough to install on 
> windows and I think is having problems with 0.4 as well. Atom works, but in 
> my experience it has problems displaying help text (text lines extend to 
> out of the screen) and you can't copy printed outputs. Of course you can 
> still work with these problems but they make you take more time.
> All of this work well in IJulia.
>
> What editors are you guys using? Do you have any of these problems?
>

Basically, I use IJulia for interactive exploration, prototyping, and 
course notes or research notes.  But for developing larger packages, I use 
an editor (I use Emacs, but tastes vary) and either import the files into 
IJulia to explore interactively or go the other direction (prototype a 
function in in IJulia, then paste it into my file once it is working).

Atom looks promising, though I haven't really used it.  In addition to the 
Julia-language plugin for Atom 
(https://github.com/JuliaLang/atom-language-julia) and the Juno-like Julia 
client for Atom (https://github.com/JunoLab/atom-julia-client), there is 
also a general plugin called Hydrogen that allows you to send code to an 
arbitrary Jupyter kernel from Atom:

https://atom.io/packages/hydrogen


[julia-users] Re: Opening Julia files on IJulia?

2015-10-05 Thread Tomas Lycken
I use IJulia, but saving to notebooks rather than to script files, when I 
want something "quick-and-dirty" - it has all the features I need for those 
use cases (rapid execution and re-execution of statements, the possibility 
to restart Julia without loosing any history, inline display of values and 
plots...). I usually never actually include script files in IJulia - I 
prefer to just have a cell at the top with the contents of whatever I need 
to (re-)evaluate.

When I develop packages, I usually work with Sublime Text and a regular 
terminal-REPL, alt-tabbing between the two, since most commands I want to 
run are either one-liners like `Pkg.test("Foo")` or a few lines of trying 
out syntax or constructs. I rarely find the need to execute one or a few 
lines in the middle of a package, so although I haven't been able to get 
the in-editor REPL working in ST, I haven't missed it much.

// T

On Monday, October 5, 2015 at 5:28:30 PM UTC+2, Marcio Sales wrote:
>
> That's a bummer. IJulia doesn't have the problems of the other editors. 
> For example, Juno is not working with 0.4, Emacs is tough to install on 
> windows and I think is having problems with 0.4 as well. Atom works, but in 
> my experience it has problems displaying help text (text lines extend to 
> out of the screen) and you can't copy printed outputs. Of course you can 
> still work with these problems but they make you take more time.
> All of this work well in IJulia.
>
> What editors are you guys using? Do you have any of these problems?
>
>
> Em sexta-feira, 2 de outubro de 2015 10:11:41 UTC-3, Marcio Sales escreveu:
>>
>> Hello,
>> Can anyone tell if it is possible to open julia files on it? I can't seem 
>> to have access to other folders except the one it is installed on. Maybe 
>> there is a command or something? I coudn't find this info on Ijulia's or 
>> ipython's docs.
>>
>>
>>
>>
>>
>>

[julia-users] Re: Opening Julia files on IJulia?

2015-10-05 Thread Marcio Sales
That's a bummer. IJulia doesn't have the problems of the other editors. For 
example, Juno is not working with 0.4, Emacs is tough to install on windows 
and I think is having problems with 0.4 as well. Atom works, but in my 
experience it has problems displaying help text (text lines extend to out 
of the screen) and you can't copy printed outputs. Of course you can still 
work with these problems but they make you take more time.
All of this work well in IJulia.

What editors are you guys using? Do you have any of these problems?


Em sexta-feira, 2 de outubro de 2015 10:11:41 UTC-3, Marcio Sales escreveu:
>
> Hello,
> Can anyone tell if it is possible to open julia files on it? I can't seem 
> to have access to other folders except the one it is installed on. Maybe 
> there is a command or something? I coudn't find this info on Ijulia's or 
> ipython's docs.
>
>
>
>
>
>

[julia-users] Re: Opening Julia files on IJulia?

2015-10-05 Thread Steven G. Johnson


On Monday, October 5, 2015 at 10:40:13 AM UTC-4, Marcio Sales wrote:
>
> Thanks for your replies but I meant actually openning them for edition, 
> like when you're working on contributions to a package. I know that 
> Include() executes a .jl file but doesn't open it for edition does it?
>

You need to edit files in a separate program.  There are plenty of editors 
to choose from...


Re: [julia-users] Re: Opening Julia files on IJulia?

2015-10-05 Thread Isaiah Norton
IJulia is not a file editor.

On Mon, Oct 5, 2015 at 10:40 AM, Marcio Sales 
wrote:

> Thanks for your replies but I meant actually openning them for edition,
> like when you're working on contributions to a package. I know that
> Include() executes a .jl file but doesn't open it for edition does it?
>
>>
>>
>>
>>


[julia-users] Re: Opening Julia files on IJulia?

2015-10-05 Thread Marcio Sales
Thanks for your replies but I meant actually openning them for edition, 
like when you're working on contributions to a package. I know that 
Include() executes a .jl file but doesn't open it for edition does it?

>
>
>
>

[julia-users] Re: Opening Julia files on IJulia?

2015-10-03 Thread Sisyphuss
Didn't know the second point.


On Saturday, October 3, 2015 at 1:18:17 AM UTC+2, Steven G. Johnson wrote:
>
> include(filename) works fine in IJulia, just like in the REPL. 
>
> IJulia starts with the directory you launched Jupyter from, but you can 
> always specify the path of another directory or use cd to change 
> directories. 
>