Albert Y. Kim
Wednesday 2015/04/15
It is an online code repository for:
It is based on the git software was created by Linus Torvald, the founder of UNIX as well.
If so, you can create private repositories as well. The default is public (i.e. they want to build a open-source community).
The old model
This is easy when you have only one file. What about 10? 100? 1000?
The version control model
You can rewind copies of an entire directory to past versions you know work.
.zip
certain files.From your GitHub profile page click on the Repositories Tab -> Click on “New” (in green)
You now have a blank repository consisting of only a README.md
file. Note the “HTTPS clone URL” in the bottom right corner.
From RStudio
The first thing we'll do is add a new README file.
Done in two steps: a commit and a push
Say you have the same repository set up on two machines and you want to sync the local copy on one machine with what's on GitHub.
In the “Git” panel, click “Pull”.
Note: If you are working between two machines and don't want to deal with overlapping changes to the same file, you have to make sure you resync at the end of every work session. Otherwise you'll have to merge the conflict. (I need to learn how to do that.)
Say you want to make your own copy of someone else's repository for your own use. You can fork their code over:
flights
, weather
, etc CSV files.read.csv("./Lec06 R Markdown + HW01/flights.csv", ...)
./
means “this directory” and is assumed to be the home directory of your project.