JuliaCall (version 0.17.1)

julia_package: Using julia packages.

Description

Using julia packages.

Usage

julia_install_package(pkg_name_or_url)

julia_installed_package(pkg_name)

julia_install_package_if_needed(pkg_name)

julia_update_package(...)

julia_library(pkg_name)

Arguments

pkg_name_or_url

the julia package name or url.

pkg_name

the julia package name.

...

you can provide none or one or multiple julia package names here.

Value

julia_installed_package will return the version number of the julia package, "nothing" if the package is not installed.

Examples

Run this code
# NOT RUN {
 ## julia_setup is quite time consuming
  julia_install_package("DataFrames")
  julia_install_package("https://github.com/JuliaData/DataFrames.jl")
  julia_installed_package("DataFrames")
  julia_install_package_if_needed("DataFrames")
  julia_update_package("DataFrame")
  julia_library("DataFrames")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab