On Mon, May 2, 2016 at 12:00 PM, Yichao Yu <[email protected]> wrote: > On Mon, May 2, 2016 at 11:56 AM, Ali Rezaee <[email protected]> wrote: >> >> Thanks, Ethan. I get the same error. Could it be an issue with my Julia >> installation? > > What code are you pasting...
Also note that pasting in julia repl directly (without a magic function) is less problematic than python since there's no auto indenting feature that can change the meaning of the code. > >> I am on Version 0.4.6-pre+24 (2016-04-17 03:57 UTC) >> >> On Monday, May 2, 2016 at 5:52:13 PM UTC+2, Ethan Anderes wrote: >>> >>> I use: >>> >>> function paste() >>> include_string(clipboard()) >>> return nothing >>> end >>> >>> and put it in my .juliarc.jl >>> >>> On Monday, May 2, 2016 at 4:28:56 AM UTC-7, Ali Rezaee wrote: >>>> >>>> >>>> >>>> Hi, >>>> >>>> Is there a function or macro that pastes the copied code into REPL? >>>> something similar to %paste in iPython. >>>> >>>> Thanks :)
