if (identical(Sys.getenv("AUTO_JULIA_INSTALL"), "true")) { ## julia_setup is quite time consuming
## doing initialization and automatic installation of Julia if necessary
julia_setup(installJulia = TRUE)
julia_assign("x", 2)
julia_assign("rsqrt", sqrt)
}
Run the code above in your browser using DataLab