View source: R/install_onnx_runtime.R
| install_onnx_runtime | R Documentation |
Download and install ONNX Runtime library for your platform. This is required before using the churon package if ONNX Runtime is not already installed on your system.
install_onnx_runtime(version = "1.29.0", quiet = FALSE, destdir, ...)
version |
Character string specifying the ONNX Runtime version to install. Defaults to "1.29.0". Supported versions are "1.28.0" and "1.29.0"; "latest" selects "1.29.0". |
quiet |
Logical. If TRUE, suppress download progress messages. |
destdir |
Required character string naming the installation directory. |
... |
Additional arguments passed to download.file() |
This function installs external software only when explicitly called. Supply
destdir yourself; no installation directory is selected by default.
The library is placed in destdir/lib and configured for this R session.
In later sessions, set ORT_DYLIB_PATH to the installed library file before
loading churon. Restart R before switching an already loaded runtime.
Invisible TRUE on success, stops with error on failure.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.