The Atom interface [1] works really well for that sort of thing. You
can just highlight the lines you want to run and press ctrl+enter to
execute them.

-s

[1]:https://github.com/JunoLab/atom-julia-client


On Tue, Jan 5, 2016, at 11:54 AM, Taylor Maxwell wrote:
> I have looked around and haven't been able to find an answer (I am
> sure it is simple).
>
> Say I have a script.jl file with a bunch of commands that I want to
> work with interactively in the REPL but only want to do a few lines at
> a time and I am unable to copy/paste.
>
> Is there a way to load/import/include a specific set of lines of a
> script.jl file into the REPL without copy/paste or putting those lines
> into a new file?
>
> I can include("script.jl") to read in the whole file but I would like
> to do it piecemeal if possible.
>
> Thanks

Reply via email to