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
Post a Comment