I-DEEL: Inter-Disciplinary Ecology and Evolution Lab
  • Home
  • People
  • Research
  • Publications
  • Blog
  • Open Science
    • Registrations
    • Registered Reports
    • Published Protocols
    • Preprints
    • EDI
    • Other
  • Opportunities
  • Links

Using GitHub Desktop to work with RStudio and GitHub

31/5/2023

0 Comments

 
by Shinichi
Picture
We earlier wrote this post to show how we can use SSH key to connect GitHub with RStudio. This post was quite popular, but I think I give up teaching how to use SSH to connect to GitHub now, as I had too much trouble with it, especially teaching the course I coordinate (Big Data in BEES). For example, to directly access GitHub via RStudio on a Mac computer, we need to have Git installed; this means one needs to also install the XCode which is a big piece of software, and not everyone’s computer has space left for it.
 
Now, I know,it is so much easier to connect to GitHub with GitHub Desktop – no SSH key required.
 
Thus, my new workflow is:

  1. Create a GitHub repo on the GitHub webpage (my profile page).
  2. Clone the repo my computer using GitHub Desktop to create a local folder (note that you need to log in GitHub Desktop using your GitHub username and password).
  3. Open a RStudio project using this local folder.
  4. Then, you can just use RStudio normally but commit, push, and pull using GitHub Desktop.
 
In RStudio, it was not so easy to resolve problems, for example when a committed file was too big to push. In GitHub Desktop it is more intuitive to resolve. Also, it is easy to open the GitHub repo page via GitHub Desktop.
 
Now, I teach the above workflow at my class too and it seems students could start using GitHub and RStudio together quite smoothly via GitHub Desktop!
 
Here is a good YouTube video more on Git, GitHub and GitHub Desktop (note this video dooes not use RStudio but it is still useful to watch).
0 Comments

Your comment will be posted after it is approved.


Leave a Reply.

    Author

    Posts are written by our group members and guests.

    Archives

    May 2025
    April 2025
    March 2025
    January 2025
    December 2024
    November 2024
    October 2024
    September 2024
    August 2024
    July 2024
    June 2024
    May 2024
    April 2024
    March 2024
    February 2024
    January 2024
    December 2023
    November 2023
    October 2023
    September 2023
    August 2023
    July 2023
    June 2023
    May 2023
    April 2023
    March 2023
    February 2023
    January 2023
    December 2022
    November 2022
    October 2022
    September 2022
    August 2022
    July 2022
    June 2022
    May 2022
    April 2022
    March 2022
    February 2022
    January 2022
    December 2021
    November 2021
    October 2021
    September 2021
    August 2021
    July 2021
    June 2021
    April 2021
    March 2021
    February 2021
    January 2021
    December 2020
    November 2020
    August 2020
    July 2020
    June 2020
    April 2020
    December 2019
    November 2019
    October 2019
    September 2019
    June 2019
    April 2019
    March 2019
    February 2019
    January 2019
    December 2018
    November 2018
    October 2018
    September 2018
    August 2018
    July 2018
    June 2018
    May 2018
    March 2018
    January 2018
    December 2017
    October 2017
    September 2017
    July 2017
    June 2017
    May 2017
    April 2017
    March 2017
    January 2017
    October 2016
    August 2016
    July 2016
    June 2016
    May 2016
    March 2016

    Categories

    All

    RSS Feed

HOME
PEOPLE
RESEARCH
PUBLICATIONS
OPEN SCIENCE
OPPORTUNITIES
LINKS
BLOG

Created by Losia Lagisz, last modified on June 24, 2015