Skip to content

Latest commit

 

History

History
265 lines (229 loc) · 14.4 KB

JuliaCall_in_Jupyter_R_Notebook1.md

File metadata and controls

265 lines (229 loc) · 14.4 KB
library(JuliaCall)
julia_setup()
Julia version 1.0.0 at location /Applications/Julia-1.0.app/Contents/Resources/julia/bin will be used.
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.
Type exit and then enter to exit.


julia> sqrt(2)

1.4142135623730951

julia> exit


Exiting julia console.
julia_library("Plots")
julia_command("gr()")

Plots.GRBackend()

julia_command("Plots.plot(Plots.fakedata(50,5),w=3)")
0 10 20 30 40 50 -5.0 -2.5 0.0 2.5 5.0 y1 y2 y3 y4 y5