Learn R Programming

ggmlR (version 0.6.1)

ggml_log_set_r: Enable R-compatible GGML Logging

Description

Redirects GGML log messages to R's message system: - INFO/DEBUG messages go to stdout (via Rprintf) - WARN/ERROR messages go to stderr (via REprintf)

Usage

ggml_log_set_r()

Arguments

Value

NULL invisibly

See Also

Other logging: ggml_abort_is_r_enabled(), ggml_log_is_r_enabled(), ggml_log_set_default(), ggml_set_abort_callback_default(), ggml_set_abort_callback_r()

Examples

Run this code
# \donttest{
ggml_log_set_r()
# Now GGML messages will appear in R console
# }

Run the code above in your browser using DataLab