ChatGPT in RStudio with gptstudio - Better than GitHub Copilot?

preview_player
Показать описание
In this video, I demonstrate how to use large language models like GPT-4 and GPT-3.5-Turbo (aka ChatGPT) to supercharge your R programming workflow. The new R package gptstudio makes it easy to integrate these AI assistants directly inside RStudio for code suggestions, documentation, and more. I show examples of generating plots and code snippets on demand using natural language prompts. Whether you're looking to automate repetitive tasks or get unstuck on complex coding challenges, this package unlocks the power of LLMs for R developers of all skill levels.

#rstats #rstudio #ai #githubcopilot #openai #gpt3 #gpt4 #huggingface #anthropic #claude #llms #chatbot #shiny #ide #code #programming #copilot
Рекомендации по теме
Комментарии
Автор

mine doesn't load anything. I do have the "hello and welcome to R" in viewer, but once i type anything in the chat doesn't do anything.

mryoda
Автор

hi, hope yo are well, I got up to the stage where gpt is on my viewer section but whenever i write something such as who made ggplot2 there is no response, can you help ?

omerdizmen
Автор

Followed this but didn't work for me unfortunately - no response from prompt and no option for ChatGPT-4 (which I have a subscription for).

robertberry
Автор

You didn't answer the question about whether this RStudio's LLMs integration interface is better than GitHub Copilot.
Copilot gives you suggestions right in the code editor. No need for copy pasting. It therefore feels more natural and the workflow is much less complex. What do you say?

caty
Автор

My plan is ChatGPT Plus, the paid gpt4 version. RStudio won't recognize my API Key and I do not see gpt4 as an option.

MichaelSaperstein
Автор

I have followed all the steps until 5:03 but when I write prompt and send, there is no response. Can you suggest?

nutthaponrathie
Автор

How do you get around the character count with Chat GPT? I've been trying to feed it some of my C# code but because there's so many lines, I can't get around the 4096 character limit. I've tried chunking it up but I would need 7-8 chunks and it's like GPT forgets what I was asking it to do after so many chunks of code. I've also read I could put it on GitHub but I don't want to open source my code like that just to feed GPT the link. Is there anything else I'm not aware of? Thanks in advance.

YoungMoneyInvestments
Автор

Addins -> ChatGPT and this message "Connection refused". My OPENAI_API_KEY is correct. How to solve it, please? Thanks.

DaniloAssisPereira_IBNeuro
Автор

I've tried to run it locally in Windows 10, did not work. It does start replying and then stops, took a look at the background job and got "Warning: Error in readRDS: error reading from connection"
"h(simpleError(msg, call))")), call = NULL, procsrcref = NULL, parent =
list(message = "cannot open the connection", call = "gzfile(file, mode)",
srcref = NULL, procsrcref = NULL))

Hope this get even more integrated and supported by Posit, one of the showstoppers in using Rstudio in Sagemaker is that cannot compete with VSCode copilot. These new plugin helps to shorten the gap greatly.

patolobos
Автор

Even if my API was just produces, it does not work....

bornijp
Автор

Seems great! I will try it out.
Is it possible to run a long list of prompts (from a spreadsheet for example) ? and to save the answer to each prompt in the spreadsheet?

joaquincarrascosa
Автор

Doesn't work for me for some strange reason.

kennethgottfredsen
Автор

Why I do not see the GPT 4 among the API options for me (I am in Sydney, and do have a paid subscription)? Thanks

SergeiDumnov