Package: chatAI4R 0.4.1

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.1.tar.gz
chatAI4R_0.4.1.zip(r-4.5)chatAI4R_0.4.1.zip(r-4.4)chatAI4R_0.4.1.zip(r-4.3)
chatAI4R_0.4.1.tgz(r-4.5-any)chatAI4R_0.4.1.tgz(r-4.4-any)chatAI4R_0.4.1.tgz(r-4.3-any)
chatAI4R_0.4.1.tar.gz(r-4.5-noble)chatAI4R_0.4.1.tar.gz(r-4.4-noble)
chatAI4R_0.4.1.tgz(r-4.4-emscripten)chatAI4R_0.4.1.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:

aibioinformaticschatgptgptimageimage-generation

4.52 score 11 stars 3 scripts 243 downloads 45 exports 43 dependencies

Last updated 6 days agofrom:c0162ead59. Checks:8 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKFeb 12 2025
R-4.5-winOKFeb 12 2025
R-4.5-macOKFeb 12 2025
R-4.5-linuxOKFeb 12 2025
R-4.4-winOKFeb 12 2025
R-4.4-macOKFeb 12 2025
R-4.3-winOKFeb 12 2025
R-4.3-macOKFeb 12 2025

Exports:addCommentCodeaddRoxygenDescriptionautocreateFunction4Rchat4Rchat4R_historychat4R_streamingchat4Rv2chatAI4pdfcheckErrorDetcheckErrorDet_JPcompletions4Rconversation4RconvertBullet2SentenceconvertRscript2FunctionconvertScientificLiteraturecreateEBAYdescreateImagePrompt_v1createImagePrompt_v2createRcodecreateRfunctioncreateSpecifications4RdesignPackagediscussion_flow_v1discussion_flow_v2enrichTextContentextractKeywordsngsubOptimizeRcodeproofreadEnglishTextproofreadTextRcodeImprovementsremoveQuotationsreplicatellmAPI4RrevisedTextsearchFunctionslow_print_v2speakInJAspeakInJA_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
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
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 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