Connecting an existing RStudio project to git and GitHub (CC145)

Поделиться
HTML-код
  • Опубликовано: 1 дек 2024

Комментарии • 92

  • @Riffomonas
    @Riffomonas  3 года назад +10

    What kind of questions do you have about using git or GitHub?

    • @lukegroene6629
      @lukegroene6629 3 года назад +2

      Hi! When committing during creating a local git repository, I am getting this message popping up in R:
      git config --global user.email "you@example.com"
      git config --global user.name "Your Name"
      When typing these into the terminal, and retrying, the message still occurs. Is this a common mistake?

    • @Riffomonas
      @Riffomonas  3 года назад

      Hi Luke - Can you try to run those from a command line outside of RStudio? Then try running "git config --global -l" from the command line and make sure there are values there for user.name and user.email. Let me know if this doesn't solve the problem

    • @AndreaDalseno
      @AndreaDalseno 3 года назад +2

      Hi, thank you for your videos. Nowadays anyone can have unlimited private repositories also with the free version of github, you have a limit of 500MB of storage (for private only) though.

    • @Riffomonas
      @Riffomonas  3 года назад

      @@AndreaDalseno that's fantastic! thanks

    • @rimjhimster
      @rimjhimster Год назад

      This video has been super helpful. I don't know if you are still monitoring these but if I have an existing repository and existing Rproj that I wasnt using git on but ratherly stupidly copy pasting code in GitHub folder. How do I now, link the project to the repository. Added caveat - what if I want to put that stuff on a branch? Thanks.

  • @katep841
    @katep841 10 месяцев назад +7

    My grad program taught me a whole lot about R but nothing about GitHub. I've been so lost trying to figure out how to get my R scripts into GitHub until now. Thank you so much!!!

  • @resford1
    @resford1 2 года назад +7

    Thank you very much for making this! I just started learning R and GitHub and am really excited to keep all my projects organized for other folks to see and share.

    • @Riffomonas
      @Riffomonas  2 года назад +2

      Hey Resford, I'm glad to hear the video was helpful! Project organization is an under appreciated part of reproducible research

  • @aidanperkins3947
    @aidanperkins3947 5 месяцев назад

    you sir are my hero, i was so lost without you

    • @Riffomonas
      @Riffomonas  5 месяцев назад

      lol - thanks! I'm glad you found this helpful

  • @AlexKashie
    @AlexKashie Год назад

    Possible to like this video 1000 times?
    Thank you Sir

  • @chuckbecker4983
    @chuckbecker4983 4 месяца назад

    Great instructional video, thanks! During the pandemic I became proficient at this but haven't used Git in a couple of years. You provided just the guidance I needed.

    • @Riffomonas
      @Riffomonas  4 месяца назад

      So glad to hear it - thanks for watching!

  • @chrismatthis9710
    @chrismatthis9710 Год назад

    Your videos are immensely helpful! Also they are so friendly for beginners like me. Really appreciate you making and sharing these vids!!

  • @chughag
    @chughag Год назад

    Thank you!! Really appreciate for creating these simple, concise yet powerful tutorials.

  • @PedroRibeiro-zs5go
    @PedroRibeiro-zs5go 2 года назад +1

    Thanks man, this video was EXTREMELY useful!! Awesome!

    • @Riffomonas
      @Riffomonas  2 года назад

      Excellent! Thanks for watching Pedro🤓

  • @niceday2015
    @niceday2015 2 года назад +2

    Simple and straightforward, GREAT! A big thanks to you!

  •  2 года назад

    This is really helpful, I'm sure I'll comeback to this video a few times.

    • @Riffomonas
      @Riffomonas  2 года назад

      Thanks for watching!😊

  • @sven9r
    @sven9r 3 года назад +1

    Our Lab doesn't use it, but I still try to manage my projects in GIT. I don't know why but I like Gitlab more.
    Thanks for sharing your point of view over and over again. I don't know why you only have 3k subs.

    • @Riffomonas
      @Riffomonas  3 года назад +2

      Thanks! We’ll get there 😊 I’m still learning how to do RUclips better and have confidence the channel will keep growing

  • @maniramraj4324
    @maniramraj4324 5 месяцев назад +1

    Thanks for teaching this subject

    • @Riffomonas
      @Riffomonas  5 месяцев назад

      My pleasure - glad you found the video useful!

  • @jonf568
    @jonf568 2 года назад

    This may seem like simple steps but this really clarified a lot of things, huge thanks from California :)

    • @Riffomonas
      @Riffomonas  2 года назад

      Wonderful! Thanks for watching and I’m glad it was helpful

  • @fit_sarthi
    @fit_sarthi 2 года назад +2

    ☺ Thanks, Appreciated . Can you please make videos on how to make nested loops in R - that we can use for feature engineering and all ?

    • @Riffomonas
      @Riffomonas  2 года назад

      Hey Sahil! I did a for loop episode a while back. Maybe that will help? ruclips.net/video/hG7SSfBXVuM/видео.html

  • @salihabdullahkilic
    @salihabdullahkilic Год назад

    great content, keep it up bruv!

  • @andreas.chrysostomou
    @andreas.chrysostomou 2 года назад +1

    Very helpful! Thanks a lot!

  • @pikineestest7362
    @pikineestest7362 2 года назад +1

    Hi Professor thanks for sharing.
    I have problems when installing R packages in ubuntu or Linux, it take several times and often rise "exit with zero status" please help.
    Thanks.

    • @Riffomonas
      @Riffomonas  2 года назад +1

      Thanks for watching! Sorry to hear you're having problems with installing packages. Try doing it in Rstudio. If it complains that it can't find a different package when installing the package you want, go ahead and try to install the package it's complaining about

  • @joseluisloren904
    @joseluisloren904 2 года назад +2

    Just wanted to say that now private repositories are also available with the free version.

    • @Riffomonas
      @Riffomonas  2 года назад

      It’s such a great service!

  • @yumidera
    @yumidera 2 года назад +1

    Thanks for great instruction! I got stuck at the new authentication method a bit, but made it through!!

  • @dhercar
    @dhercar 3 года назад +1

    That was helpful! Thank you.

    • @Riffomonas
      @Riffomonas  3 года назад

      Glad it was helpful! Thanks for watching :)

  • @marerlevin2494
    @marerlevin2494 2 года назад +2

    Maybe just for others that run into the same problem. Do not create a README file at the start when creating your repository. At least I had the problem that I then could not link my Rproject with my github repository because it said that there were files in my github repository that were not on my local computer. Just follow his instructions precisely and you should not run into any trouble. In the process of trying to fix my issue I also linked my Rstudio with my github using a SSH-key but I am not sure if that was really necessary.
    I used github for the very first time and this was my first repository ever made on my github account.

    • @Riffomonas
      @Riffomonas  2 года назад

      Thanks Marer - glad you got it working!🤓

  • @ifeyinwaodiaka9295
    @ifeyinwaodiaka9295 Год назад

    Many thanks. Very helpful.

  • @janeroque4733
    @janeroque4733 2 года назад +1

    In my version control option, I only see none, there is no other option. What can I do in that case?

    • @Riffomonas
      @Riffomonas  2 года назад

      Hi Jane - thanks for watching! First make sure you have git installed on your computer

  • @marcelofalchetti
    @marcelofalchetti 2 года назад +1

    Amazing, thanks!

  • @birasafabrice
    @birasafabrice 3 года назад +1

    thank for this amazing video, it helped a lot!

  • @nellyiwuh20
    @nellyiwuh20 Год назад

    Hello. I tried to commit my data to git but it opens an interface and asks me to put in email and name. I can't type in this interface tho.

  • @josevaldes7493
    @josevaldes7493 Год назад

    Thanks man. this is a great videos

  • @andrea-mj9ce
    @andrea-mj9ce 2 года назад +1

    A little off-topic, but what open R project do you recommend to join as a 4-year experience person with interest in machine learning ?

    • @Riffomonas
      @Riffomonas  2 года назад +1

      Wonderful question! Somewhat selfishly maybe mikropml could use some help?

    • @andrea-mj9ce
      @andrea-mj9ce 2 года назад +1

      @@Riffomonas I have seen that mikropml is a package for ml tools for microbiology. Is it recommended to have knowledge on microbiology to contribute to this package ?

    • @Riffomonas
      @Riffomonas  2 года назад +1

      @@andrea-mj9ce it's widely used outside of microbiology so no need for micro expertise!

  • @kelvas6839
    @kelvas6839 3 года назад +1

    Hey, thanks for the very helpful video. My Git Acc doesn't show me any Quick setup information after creating my repository ( no codes pop up)

    • @Riffomonas
      @Riffomonas  3 года назад +1

      Hmm I’m not sure I follow what you’re saying. You don’t see git in rstudio?are you sure you have git installed on your computer?

    • @kelvas6839
      @kelvas6839 3 года назад

      @@Riffomonas I have managed to connect Git and RStudio just now by using PAT.
      What I meant before is that after creating a new repository I don’t see a window with Quick setup where I could copy the push settings

  • @prateekshahegde1528
    @prateekshahegde1528 2 года назад +1

    I don't have a option git, in version control, please tell what I am missing

  • @emkahuda776
    @emkahuda776 2 года назад +1

    Thank you for the great video. I am using RStudio server and connecting it to the Github. I have successfully committed and pushed several times. However, today, I accidentally commit a large file from RStudio to Github. It causes errors and "push" process is failed. Then I tried to commit a small file and push it (hoping it will work normally), and it turned out to fail as well since, I guess, the prior commit was failed. Therefore, now I have 2 commits not pushed to Github yet. I got the message "Your branch is ahead of 'origin/main' by 2 commits." My question is how to solve the issue? The first option is I want to cancel the committing a large file, or possibly second commit I can push the large file. I prefer the first one actually. Please help me to solve it. Thank you.

    • @Riffomonas
      @Riffomonas  2 года назад +1

      If you google for how to undo commits you’ll find some good tutorials. If you try this from the command line it should reset your local repository to match the remote repository: git reset --hard origin/ the should be the name of your branch on GitHub. Be sure to add the problem file to your .gitignore file

  • @yaqinguo8971
    @yaqinguo8971 2 года назад +1

    great video!

  • @birasafabrice
    @birasafabrice 3 года назад

    why don't find the option of setting version control to git at 2:50? I only have "none" option... any help is appreciated. thanks!

    • @birasafabrice
      @birasafabrice 3 года назад

      sorry, I got that question solved from the previous video. thank you!

    • @Riffomonas
      @Riffomonas  3 года назад

      Hi Birasa - glad you got it worked out!

    • @prateekshahegde1528
      @prateekshahegde1528 2 года назад

      Same issue...! please help

  • @mubassirwrites
    @mubassirwrites Год назад

    sir how to create python environment in r studio. i want to run RNN and LSTM models in r.

  • @mariaortega2636
    @mariaortega2636 Год назад

    Very helpful! Thankyouu

  • @Toawsome2care
    @Toawsome2care 2 года назад

    I always get promoted to enter my username and password even when i enter my personal access token I only ever seem the get the message fatal: unable to access

    • @Riffomonas
      @Riffomonas  2 года назад

      Hi Heather! Sorry, I haven't gone to using the PAT yet. I'm still using the ssh keys.

  • @evareindl7472
    @evareindl7472 Год назад

    Thank you so much!!

  • @SergioUribe
    @SergioUribe 2 года назад +1

    THANK YOU!

  • @AntoinSts
    @AntoinSts 6 месяцев назад

    Thanks very much :)

    • @Riffomonas
      @Riffomonas  6 месяцев назад +1

      My pleasure - glad you found it helpful!

  • @josekaromo153
    @josekaromo153 2 года назад

    Thanks for this

    • @Riffomonas
      @Riffomonas  2 года назад

      My pleasure! Thanks for watching 🤓

  • @mmuti7800
    @mmuti7800 2 года назад +1

    this video just earned u a like, subscribe and a comment ✌

  • @po-t7299
    @po-t7299 2 года назад +1

    Git is giving me headaches at the moment. The Git tab is not showing no matter how I configure things, change the path, or whatever. The joy of using Windows 😂

    • @Riffomonas
      @Riffomonas  2 года назад

      Can you double check you have git installed? You might also confirm that the preferences are set right for version control?

    • @po-t7299
      @po-t7299 2 года назад +1

      @@Riffomonas It was a stupid thing... like usual 🤣
      I was trying to run Git on a project stored on an external hard drive, but because of the formatting of the hard drive, I do not have full write permission.
      I ran it on my PC's hard drive and it worked perfectly.

    • @po-t7299
      @po-t7299 2 года назад

      @@Riffomonas Also, thank you for your tutorial! It is better explained than the official Happy Git book.

    • @kanchanaramar
      @kanchanaramar 2 года назад +1

      @@po-t7299 Thanks. I had the very same issue. I was clueless - till I read your post. Worked for me as well.
      Riffomonas Project, thanks for creating and uploading this video!