Learn R Programming

chatgpt (version 0.2.3)

Interface to 'ChatGPT' from R

Description

'OpenAI's 'ChatGPT' coding assistant for 'RStudio'. A set of functions and 'RStudio' addins that aim to help the R developer in tedious coding tasks.

Copy Link

Version

Install

install.packages('chatgpt')

Monthly Downloads

562

Version

0.2.3

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Juan Cruz Rodriguez

Last Published

May 5th, 2023

Functions in chatgpt (0.2.3)

reset_chat_session

Reset Chat Session
explain_code

ChatGPT: Explain Code
create_unit_tests

ChatGPT: Create Unit Tests
gpt_get_completions

Get GPT Completions Endpoint
find_issues_in_code

ChatGPT: Find Issues in Code
document_code

ChatGPT: Document Code (in roxygen2 format)
complete_code

ChatGPT: Complete Code
comment_code

ChatGPT: Comment Code
chatgpt-package

'OpenAI's 'ChatGPT' <https://chat.openai.com/> coding assistant for 'RStudio'. A set of functions and 'RStudio' addins that aim to help the R developer in tedious coding tasks.
create_variable_name

ChatGPT: Create Variable Name
ask_chatgpt

Ask ChatGPT
run_addin

Run a ChatGPT RStudio Addin
run_addin_ask_chatgpt

Ask ChatGPT
optimize_code

ChatGPT: Optimize Code
parse_response

Parse OpenAI API Response
refactor_code

ChatGPT: Refactor Code