It's working now. I didn't have xclip installed. Thanks for your help. On Monday, May 2, 2016 at 6:00:12 PM UTC+2, Stefan Karpinski wrote:
> What is the code that you're pasting in? > > On Mon, May 2, 2016 at 11:56 AM, Ali Rezaee <arv....@gmail.com > <javascript:>> wrote: > >> >> Thanks, Ethan. I get the same error. Could it be an issue with my Julia >> installation? >> 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 :) >>>> >>> >>> >> >