How to use GitHub Copilot and ChatGPT in RStudio - get setup in less than 5 minutes!

preview_player
Показать описание
In this video, we learn how to use GitHub Copilot and ChatGPT directly from within RStudio. Specifically, we'll go over all of the setup steps that are required for using 1) the RStudio Copilot integration, and 2) the chattr package which allows you to interact with Large Language Models (LLMs) like the OpenAI models (such as ChatGPT) and LLaMA models. We'll cover all this in just 5 minutes!

If you find my videos helpful, please be sure to subscribe to my channel (and share with your friends!) so that I can keep making more.😊

Want to connect?

*Please note: it’s helpful for me if you send me a message on LinkedIn when you add me letting me know you’re adding me because of YouTube, so that I can keep track of how I know each person in my network😊

Introduction - 0:00
Copilot in RStudio - 1:40
ChatGPT in RStudio - 2:36
Рекомендации по теме
Комментарии
Автор

Thanks for the great stuff you are posting!

marally
Автор

Hello Melissa, thanks a lot for sharing this ! I do have chatgpt plus and gpt4, I also generated my api and got the secret key, and when I run the chattr app the chat opens up in the viewer pane, so all gos this far. But when I submut a prompt I get this error even if I do do have gpt4 and chatgpt plus :

barrymoustapha
Автор

Another great video, but to get ChatGPT to work in RStudio, without error, I had to execute these lines:
remotes::install_github("mlverse/chattr", force = TRUE)
chattr::chattr_app()
Could there be something wrong with my setup/configuration?

And also, when the chat is successfully loaded in the viewer window and operates as expected, I can't run code in the source window until I stop chattr. Any clues?

gecarter
Автор

I get permission denied from R studio when I try to setup giyhub and copilot

MaryamAmirhaeri
Автор

great work! just one question: is chatter or gptstudios closer trained or instructed for R? Like having a stronger recall to all those packages of R Studios and their documentation? I am unsure to set this up, the browser version of chatgpt (free) is far from okay and checking what is going on (like losing track if we changed the subject a bit, later it cant remember path or file names we talked on for hours or doesnt understand the context anymore) - so is it closer tailored to the world of R studios or just the "regular one"? Sorry i am a beginner and totally overwhelmed :D

logitfau
Автор

Hi, when I give chat a request, I get the following error: "The model `gpt-4o` does not exist or you do not have access to it." and the chat stops working. It won't generate any responses? Any ideas why that might be?

channelname-ctgt
Автор

Thank you very I wonder if you know if is there any free alternative to github pilot? Thanks in advanceges

r_rabbitrabbit
Автор

I have a poblem, I did everything and the chat opens in my Rstudio perfectly, however when I type anything and send it, it automatically closes and gives me this message: Message: You exceeded your current quota, please check your plan and billing details."
Do you know if this is because I don't have chatGPT plus, or what is the iisue here?

javiergimenezvidal
Автор

Hi Melissa, Thanks for your video! Instead of receiveing an answer from the chat, I receive the next error message. Do you have any idea on how can i solve it?
<callr_status_error: callr subprocess failed: `message` must be a character vector, not a <httr2_response> object.>
in process
-->
<callr_remote_error in abort(req_result):
`message` must be a character vector, not a <httr2_response> object.>
in process 10988
Warning: Error in observe: Streaming returned error
51: <Anonymous>
50: signalCondition
49: signal_abort
48: abort
47: observe
46: <observer>
3: shiny::runApp
2: runGadget
1: chattr_app

juandelmonte
Автор

HI MELISSA, do you have a video using chattr library? thank you!!

MariaCristinaPerez-xk
Автор

I am currently enrolled in my MSc. One of our courses is Statistics using RStudio. Is it ethical to use Github Copilot in doing my R programming?

jhunmcanete
Автор

I ran into the following error using chattr_app()
Error:
! in callr subprocess.
Caused by error in `req_perform_stream(., function(x) { …`:
! could not find function "req_perform_stream"
Can anyone help? Thanks

lizou
Автор

hi, Melissa, really love your tutorial. About "How do you link to multiple pages in a single sidebar navigation item? #6319", which I watched from your last year posit-conf, could you please make a tutorial on how to do this? Many thanks.

CanDoSo_org
Автор

There is no real use case, just some trivial playing with basic ideas. On the end of day one have to prepare something important and meaningful and coppilot will not help with it.

QlturalnaMaszyna
Автор

Why did you not include an actual step by video of how to install chattr? That’s the only bit I don’t know and you just tell us ‘go do it’… but without showing us how :( :( :p

peterlangdown
visit shbcf.ru