library(JuliaCall)
julia_setup()
Julia at location /Applications/Julia-0.6.app/Contents/Resources/julia/bin will be used. Julia version 0.6.0 found. Julia initiation... Finish Julia initiation. Loading setup script for JuliaCall... Finish loading setup script for JuliaCall.
julia_console()
It seems that you are not in the terminal. A simple julia console will be started. Press ESC or CTRL+C to exit.
julia> sqrt(2)
julia> @doc sqrt
sqrt(x)
Return $\sqrt{x}$. Throws DomainError
for negative Real
arguments. Use complex negative arguments instead. The prefix operator √
is equivalent to sqrt
.
julia> exit
Exiting julia console.
julia_library("Gadfly")
julia_command("Gadfly.plot(y = [1 2 3])")
julia_library("Plots")
julia_command("gr()")
julia_command("Plots.plot(Plots.fakedata(50,5),w=3)")