smtl_setup | R Documentation |
smtl_setup: setup Julia path and/or install Julia or Julia packages using functions based on external package JuliaCall::julia_setup().
smtl_setup(path = NULL, installJulia = FALSE, installPackages = FALSE)
path |
A string |
installJulia |
A boolean. |
installPackages |
A boolean. |
A message indicating either Julia language or package installation status or the path of Julia Binary on your computer. See vignette if you have problems specifying the path of Julia binary correctly.
## Not run: if (identical(Sys.getenv("AUTO_JULIA_INSTALL"), "true")) { ## The examples are quite time consuming ## Do initiation for and automatic installation if necessary ################################################################## # First Time Loading, Julia is Installed and Julia Path is Known ################################################################## smtl_setup(path = "/Applications/Julia-1.5.app/Contents/Resources/julia/bin", installJulia = FALSE, installPackages = FALSE) ##################################################################################### # If you have run smtl_setup() before, then path specification shouldn't be necessary ##################################################################################### smtl_setup(path = NULL, installJulia = FALSE, installPackages = FALSE) ##################################################################################### ##### First Time Loading, Julia is Not Installed ###### ##################################################################################### smtl_setup(path = NULL, installJulia = TRUE, installPackages = FALSE) ##################################################################################### ##### First Time Loading, Julia is Installed But Packages NEED INSTALLATION ###### ##################################################################################### smtl_setup(path = "/Applications/Julia-1.5.app/Contents/Resources/julia/bin", installJulia = TRUE, installPackages = TRUE) } ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.