View source: R/checkErrorDet_JP.R
checkErrorDet_JP | R Documentation |
A function to analyze and provide guidance on how to fix an error message copied from the R console.
checkErrorDet_JP(
Summary_nch = 100,
Model = "gpt-4o-mini",
verbose = TRUE,
SlowTone = FALSE
)
Summary_nch |
An integer specifying the maximum number of characters for the summary. |
Model |
A string specifying the model to be used, default is "gpt-4-0314". Currently, "gpt-4", "gpt-4-0314" and "gpt-4o-mini" can be selected as gpt-4 models. Execution with GPT-4 is recommended. |
verbose |
A logical value to control the verbosity of the output, default is TRUE. |
SlowTone |
A logical value to control the printing speed of the output, default is FALSE. |
Check Error Details in Japanese via RStudio API
This function provides a way to check error details in R. It reads the error message from the clipboard, executes the function, and shows how to fix the error in Japanese.
The function prints the guidance on how to fix the error message in Japanese. If verbose is FALSE, it returns the guidance as a string.
Satoshi Kume
## Not run:
# Analyzing error message from the clipboard
checkErrorDet_JP(Summary_nch = 100, Model = "gpt-4o-mini", verbose = TRUE, SlowTone = FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.