View source: R/createSpecifications4R.R
createSpecifications4R | R Documentation |
This function generates specifications for an R function from your selected text or clipboard. It takes in a text input, model name, verbosity, and tone speed to generate the specifications.
createSpecifications4R(
Model = "gpt-4o-mini",
SelectedCode = TRUE,
verbose = TRUE,
SlowTone = FALSE
)
Model |
A character string specifying the GPT model to be used. Default is "gpt-4o-mini". |
SelectedCode |
A logical flag to indicate whether to read from RStudio's selected text. Default is TRUE. |
verbose |
A logical value indicating whether to print the output. Default is TRUE. |
SlowTone |
A logical value indicating whether to print the output slowly. Default is FALSE. |
Create Specifications for R Function
The function prints the generated specifications to the console.
Satoshi Kume
## Not run:
# Option 1
# Select some text in RStudio and then run the rstudio addins
# Option 2
# Copy the text into your clipboard then execute
createSpecifications4R(input = "Your R function specification")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.