osx - What should path be to Julia source file? -


i have .jl file @ /users/myuser/documents/julialearn/julia/mysource.jl

in julia repl, i'm trying run as:

include("/users/myuser/documents/julialearn/julia/mysource.jl") 

but error:

error: not open file /users/myuser/~/documents/julialearn/julia/mysource.jl in include @ /applications/julia-0.4.5.app/contents/resources/julia/lib/julia/sys.dylib in include_from_node1 @ /applications/julia-0.4.5.app/contents/resources/julia/lib/julia/sys.dylib

i tried error similar above:

include("~/documents/julialearn/julia/mysource.jl") 

any idea i'm doing wrong?

isomorphic os:

cd(joinpath(homedir(),"a_long","path","to_your","files"));  include("your_julia_file.jl") 

Comments

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -