Skip to content
C

Chatgpt

Interface to ChatGPT from R

by jcrodriguez1989Free

#4020in AI
0In stores

Description

The chatgpt package is an R package that brings a ChatGPT coding assistant into RStudio. It is on CRAN and works through RStudio addins. You…

Highlights

  • Ask ChatGPT in an interactive RStudio chat
  • Comment, complete, explain and refactor selected code
  • Create testthat unit tests and roxygen2 docs
  • Find issues and optimize selected code
  • Uses the whole file when no code is selected

Ratings & Reviews

No ratings yet

Be the first to rate Chatgpt.

People also visit

G

Gptstudio

GPT RStudio addins that enable GPT assisted coding, writing & analysis

AI
Launch
R

r-lsp

R language server for code intelligence

AI Skills
Get
C

ClaudeR - RStudio MCP Server

Connect RStudio to Claude Code, Codex, Gemini, and other LLM agents via MCP

AI Skills
Get
A

aider

AI pair programming in your terminal, supporting multiple LLM providers

AI
Launch
G

Gpttools

gpttools extends gptstudio for package development to help you document code

AI
Launch
T

TerminalGPT

Get GPT like chatGPT on your terminal

AI
Launch

Chatgpt FAQ

What is this package for?

It is an R package that adds ChatGPT-based coding help to RStudio through a set of addins.

How do I install it?

Install the released version from CRAN, or install the development version from GitHub. The README gives the commands.

Do I need an API key?

Yes. You need an OpenAI API key, which you set in R for the session, or in your .Renviron file with usethis::edit_r_environ().

Why do I get a quota error?

The README says the OpenAI account has run out of quota, and that you need to add billing details to fix it.

Which addins are included?

Ask ChatGPT, comment selected code, complete selected code, create unit tests, create a variable name, document code in roxygen2 format, explain code, find issues, optimize and refactor.

What are the best Chatgpt alternatives?

Popular alternatives to Chatgpt include Gptstudio, aider and Gpttools. See all Chatgpt alternatives

Developer Stuff

Badges