Learn R Programming

chatAI4R (version 0.3.6)

Chat-Based Interactive Artificial Intelligence for R

Description

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 ). The previous functions such as seamless translation and image generation have been moved to other packages 'deepRstudio' and 'stableDiffusion4R'.

Copy Link

Version

Install

install.packages('chatAI4R')

Monthly Downloads

250

Version

0.3.6

License

Artistic-2.0

Issues

Pull Requests

Stars

Forks

Maintainer

Satoshi Kume

Last Published

February 12th, 2025

Functions in chatAI4R (0.3.6)

convertBullet2Sentence

convertBullet2Sentence
convertRscript2Function

convertRscript2Function
createImagePrompt_v1

Create Image Prompt version 1
createImagePrompt_v2

Generate Image Prompts version 2
addCommentCode

Add Comments to R Code
addRoxygenDescription

Add Roxygen Description to R Function
chat4R_history

chat4R_history: Use chat history for interacting with GPT.
chat4R_streaming

chat4R_streaming: Interact with GPT-4o (default) with streaming using OpenAI API and set system context
createSpecifications4R

Create Specifications for R Function
chat4Rv2

chat4Rv2: Interact with gpt-4o-mini (default) using OpenAI API
chatAI4pdf

chatAI4pdf
designPackage

designPackage
discussion_flow_v1

discussion_flow_v1: Interactions and Flow Control Between LLM-based Bots (LLBs)
discussion_flow_v2

discussion_flow_v2: Interactions and Flow Control Between LLM-based Bots (LLBs)
proofreadText

proofreadText
removeQuotations

Remove All Types of Quotations from Text
TextSummary

Summarize Long Text
TextSummaryAsBullet

Summarize Text into Bullet Points
completions4R

completions4R: Generate text using OpenAI completions API (Legacy)
autocreateFunction4R

autocreateFunction4R (development / experimental)
chat4R

Chat4R: Interact with gpt-4o-mini (default) using OpenAI API
conversation4R

Conversation Interface for R
convertScientificLiterature

convertScientificLiterature
createEBAYdes

Create eBay Product Description
speakInJA

Speak Selected Text in Japanese
speakInJA_v2

Speak Clipboard in Japanese
createRcode

Create R Code from Clipboard Content and Output into the R Console
replicatellmAPI4R

replicatellmAPI4R: Interact with Replicate API for LLM models in R
createRfunction

Create R Function from Selected Text or Clipboard Content and Output into the R Console
revisedText

Revised Scientific Text
summaryWebScrapingText

Text Summary via Web Scraping
supportIdeaGeneration

supportIdeaGeneration: Support Idea Generation from Selected Text or Clipboard.
vision4R

Vision API Function using OpenAI's Vision API
searchFunction

Search R Functions based on Text
slow_print_v2

Slowly Print Text
OptimizeRcode

Optimize and Complete R Code
RcodeImprovements

Suggest Improvements to the R Code on Your Clipboard
checkErrorDet

Check Error Details
checkErrorDet_JP

Check Error Details in Japanese
enrichTextContent

Enrich Text Content v2
extractKeywords

extractKeywords
ngsub

ngsub
proofreadEnglishText

Proofread English Text
textEmbedding

Text Embedding from OpenAI Embeddings API
textFileInput4ai

Send Text File Content to OpenAI API and Retrieve Response