Package: chatAI4R 1.3.2

Satoshi Kume

chatAI4R: 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'.

Authors:Satoshi Kume [aut, cre]

chatAI4R_1.3.2.tar.gz
chatAI4R_1.3.2.zip(r-4.7)chatAI4R_1.3.2.zip(r-4.6)chatAI4R_1.3.2.zip(r-4.5)
chatAI4R_1.3.2.tgz(r-4.6-any)chatAI4R_1.3.2.tgz(r-4.5-any)
chatAI4R_1.3.2.tar.gz(r-4.7-any)chatAI4R_1.3.2.tar.gz(r-4.6-any)
chatAI4R_1.3.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
chatAI4R/json (API)

# Install 'chatAI4R' in R:
install.packages('chatAI4R', repos = c('https://kumes.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/kumes/chatai4r/issues

On CRAN:

Conda:

aibioinformaticschatgptgptimageimage-generation

5.39 score 22 stars 15 scripts 191 downloads 53 exports 31 dependencies

Last updated from:dc536c8b5e. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK128
source / vignettesOK168
linux-release-x86_64OK135
macos-release-arm64OK151
macos-oldrel-arm64OK150
windows-develOK426
windows-releaseOK85
windows-oldrelOK448
wasm-releaseOK110

Exports:addCommentCodeaddRoxygenDescriptionautocreateFunction4Rchat4Rchat4R_historychat4R_streamingchat4Rv2checkErrorDetcheckErrorDet_JPcompletions4Rconversation4RconvertBullet2SentenceconvertRscript2FunctionconvertScientificLiteraturecreateEBAYdescreateImagePrompt_v1createImagePrompt_v2createRcodecreateRfunctioncreateSpecifications4RdesignPackageDifyChat4Rdiscussion_flow_v1discussion_flow_v2enrichTextContentextractKeywordsgemini4RgeminiGrounding4RinterpretResultionet_modelslist_ionet_modelsmultiLLMviaionetngsubOptimizeRcodeprint_multiLLM_resultsproofreadEnglishTextproofreadTextRcodeImprovementsrefresh_ionet_modelsremoveQuotationsreplicatellmAPI4RrevisedTextsearchFunctionslow_print_v2speakInENspeakInJAspeakInJA_v2supportIdeaGenerationtextEmbeddingtextFileInput4aiTextSummaryTextSummaryAsBulletvision4R

Dependencies:askpassassertthatbase64encclicliprcodetoolscpp11crayoncurldeepRstudiodigestfutureglobalsgluehttrigraphjsonlitelatticelifecyclelistenvmagrittrMatrixmimeopensslparallellypkgconfigR6rlangrstudioapisysvctrs

Readme and manuals

Help Manual

Help pageTopics
Add Comments to R CodeaddCommentCode
Add Roxygen Description to R FunctionaddRoxygenDescription
autocreateFunction4R (development / experimental)autocreateFunction4R
Chat4R: Interact with gpt-4o-mini (default) using OpenAI APIchat4R
chat4R_history: Use chat history for interacting with GPT.chat4R_history
chat4R_streaming: Interact with GPT-4o (default) with streaming using OpenAI API and set system contextchat4R_streaming
chat4Rv2: Interact with gpt-4o-mini (default) using OpenAI APIchat4Rv2
Check Error DetailscheckErrorDet
Check Error Details in JapanesecheckErrorDet_JP
completions4R: Generate text using OpenAI completions API (Legacy - DEPRECATED)completions4R
Conversation Interface for Rconversation4R
convertBullet2SentenceconvertBullet2Sentence
convertRscript2FunctionconvertRscript2Function
convertScientificLiteratureconvertScientificLiterature
Create eBay Product DescriptioncreateEBAYdes
Create Image Prompt version 1createImagePrompt_v1
Generate Image Prompts version 2createImagePrompt_v2
Create R Code from Clipboard Content and Output into the R ConsolecreateRcode
Create R Function from Selected Text or Clipboard Content and Output into the R ConsolecreateRfunction
Create Specifications for R FunctioncreateSpecifications4R
designPackagedesignPackage
DifyChat4R Function (Completion Messages Only)DifyChat4R
discussion_flow_v1: Interactions and Flow Control Between LLM-based Bots (LLBs)discussion_flow_v1
discussion_flow_v2: Interactions and Flow Control Between LLM-based Bots (LLBs)discussion_flow_v2
Enrich Text Content v2enrichTextContent
extractKeywordsextractKeywords
Gemini API Request (v1beta, 2025-07)gemini4R
Gemini API Google Search Grounding Request (v1/v1beta, 2025-07)geminiGrounding4R
Interpret Analysis ResultsinterpretResult
ionet_models: Retrieve the available model list from io.net APIionet_models
list_ionet_models: Display available LLM models on io.net APIlist_ionet_models
multiLLMviaionet: Execute ALL available LLM models simultaneously via io.net APImultiLLMviaionet
ngsubngsub
Optimize and Complete R CodeOptimizeRcode
Pretty-print multiLLMviaionet resultsprint_multiLLM_results
Print method for multiLLM_resultprint.multiLLM_result
Proofread English TextproofreadEnglishText
proofreadTextproofreadText
Suggest Improvements to the R Code on Your ClipboardRcodeImprovements
refresh_ionet_models: Manually refresh the cached model list from io.net APIrefresh_ionet_models
Remove All Types of Quotations from TextremoveQuotations
replicatellmAPI4R: Interact with Replicate API for LLM models in RreplicatellmAPI4R
Revised Scientific TextrevisedText
Search R Functions based on TextsearchFunction
Slowly Print Textslow_print_v2
Speak Selected Text in EnglishspeakInEN
Speak Selected Text in JapanesespeakInJA
Speak Clipboard in JapanesespeakInJA_v2
supportIdeaGeneration: Support Idea Generation from Selected Text or Clipboard.supportIdeaGeneration
Text Embedding from OpenAI Embeddings APItextEmbedding
Send Text File Content to OpenAI API and Retrieve ResponsetextFileInput4ai
Summarize Long TextTextSummary
Summarize Text into Bullet PointsTextSummaryAsBullet
Vision API Function using OpenAI's Vision APIvision4R