JuliaCall (version 0.17.5)

julia_exists: Check whether a julia object with the given name exists or not.

Description

julia_exists returns whether a julia object with the given name exists or not.

Usage

julia_exists(name)

Arguments

name

the name of julia object you want to check.

Examples

Run this code

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_exists("sqrt")
}

Run the code above in your browser using DataLab