Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pushing to Github from RStudio [closed]

What's your git workflow look like when you're working with RStudio?

I want to start using github for source control of my scripts. I know you can use the command line/terminal to push a repository, but have been unable to find a package for git. Any suggestion for one?

Alternatively, I could use the system command: system("git push")

Can anyone suggest a better/more elegant way to do this?

like image 247
mikebmassey Avatar asked Dec 14 '11 20:12

mikebmassey


People also ask

How do I open an R file in GitHub?

The most direct way to get data from Github to your computer/ into R, is to download the repository. That is, click the big green button: The big, green button saying “Clone or download”, click it and choose “download zip”. Of course, for those using Git and Github, it would be appropriate to clone the repository.


1 Answers

I seem to remember that the new development version of Rstudio has builtin support for git. If you do not want to use that I myself am perfectly fine with using the command line in a separate console to checkin code. You can also do this from within R using the system command.

ps Daily builds of RStudio can be found here:

http://www.rstudio.org/download/daily/desktop/

like image 168
Paul Hiemstra Avatar answered Oct 19 '22 17:10

Paul Hiemstra