Package: chatAI4R 0.4.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 (see 'OpenAI' Web APIs details <https://openai.com/blog/openai-api>). 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_0.4.2.tar.gz
chatAI4R_0.4.2.zip(r-4.5)chatAI4R_0.4.2.zip(r-4.4)chatAI4R_0.4.2.zip(r-4.3)
chatAI4R_0.4.2.tgz(r-4.5-any)chatAI4R_0.4.2.tgz(r-4.4-any)chatAI4R_0.4.2.tgz(r-4.3-any)
chatAI4R_0.4.2.tar.gz(r-4.5-noble)chatAI4R_0.4.2.tar.gz(r-4.4-noble)
chatAI4R_0.4.2.tgz(r-4.4-emscripten)chatAI4R_0.4.2.tgz(r-4.3-emscripten)
chatAI4R.pdf |chatAI4R.html
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

4.60 score 16 stars 3 scripts 247 downloads 50 exports 43 dependencies

Last updated 13 hours agofrom:b3b39fcf50. Checks:1 OK, 8 WARNING. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 30 2025
R-4.5-winWARNINGMar 30 2025
R-4.5-macWARNINGMar 30 2025
R-4.5-linuxWARNINGMar 30 2025
R-4.4-winWARNINGMar 30 2025
R-4.4-macWARNINGMar 30 2025
R-4.4-linuxWARNINGMar 30 2025
R-4.3-winWARNINGMar 30 2025
R-4.3-macWARNINGMar 30 2025

Exports:addCommentCodeaddRoxygenDescriptionautocreateFunction4Rchat4Rchat4R_historychat4R_streamingchat4Rv2chatAI4pdfcheckErrorDetcheckErrorDet_JPcompletions4Rconversation4RconvertBullet2SentenceconvertRscript2FunctionconvertScientificLiteraturecreateEBAYdescreateImagePrompt_v1createImagePrompt_v2createRcodecreateRfunctioncreateSpecifications4RdesignPackageDifyChat4Rdiscussion_flow_v1discussion_flow_v2enrichTextContentextractKeywordsgemini4RgeminiGrounding4RinterpretResultngsubOptimizeRcodeproofreadEnglishTextproofreadTextRcodeImprovementsremoveQuotationsreplicatellmAPI4RrevisedTextsearchFunctionslow_print_v2speakInENspeakInJAspeakInJA_v2summaryWebScrapingTextsupportIdeaGenerationtextEmbeddingtextFileInput4aiTextSummaryTextSummaryAsBulletvision4R

Dependencies:askpassassertthatbase64encclicliprcodetoolscpp11crayoncurldeepRstudiodigestfansifutureglobalsgluehttrigraphjsonlitelatticelifecyclelistenvmagrittrMatrixmimeopensslparallellypdftoolspillarpkgconfigqpdfR6Rcpprlangrstudioapirvestselectrstringistringrsystibbleutf8vctrsxml2

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
chatAI4pdfchatAI4pdf
Check Error DetailscheckErrorDet
Check Error Details in JapanesecheckErrorDet_JP
completions4R: Generate text using OpenAI completions API (Legacy)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 (Blocking Mode 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 Functiongemini4R
Gemini API Google Search Grounding Request FunctiongeminiGrounding4R
Interpret Analysis ResultsinterpretResult
ngsubngsub
Optimize and Complete R CodeOptimizeRcode
Proofread English TextproofreadEnglishText
proofreadTextproofreadText
Suggest Improvements to the R Code on Your ClipboardRcodeImprovements
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
Text Summary via Web ScrapingsummaryWebScrapingText
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