Chat-Based Interactive Artificial Intelligence for R

The Large Language Model (LLM) represents a groundbreaking advancement in data science and programming, and also allows us to extend the world of R. A seamless interface for integrating the 'OpenAI' Web APIs into R is provided in this package. This package leverages LLM-based AI techniques, enabling efficient knowledge discovery and data analysis. The previous functions such as seamless translation and image generation have been moved to other packages 'deepRstudio' and 'stableDiffusion4R'.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("chatAI4R")

1.3.1 by Satoshi Kume, 9 months ago


https://kumes.github.io/chatAI4R/, https://github.com/kumeS/chatAI4R


Report a bug at https://github.com/kumeS/chatAI4R/issues


Browse source code at https://github.com/cran/chatAI4R


Authors: Satoshi Kume [aut, cre] (ORCID:


Documentation:   PDF Manual  


Artistic-2.0 license


Imports httr, jsonlite, assertthat, clipr, crayon, rstudioapi, future, igraph, deepRstudio, curl, base64enc, glue, utils

Suggests testthat, knitr


See at CRAN