For the original notebook, please go to https://nbviewer.jupyter.org/github/Non-Contradiction/JuliaCall/blob/master/example/JuliaCall_in_Jupyter_R_Notebook.ipynb.

Here I generate a markdown file from part of the notebook and include it in this vignette.

library(JuliaCall)
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.
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")

Plots.GRBackend()

julia_command("Plots.plot(Plots.fakedata(50,5),w=3)")
01020304050-5.0-2.50.02.55.0y1y2y3y4y5