Statistical Computing, 36-350
Monday November 25, 2019
R jargon | Database jargon |
---|---|
column | field |
row | record |
data frame | table |
types of the columns | table schema |
collection of data frames | database |
conditional indexing | SELECT , FROM , WHERE , HAVING |
tapply() or other means |
GROUP BY |
order() |
ORDER BY |
merge() |
INNER JOIN or just JOIN |
The person who knows the most about your code is you-six-months-ago, and you-six-months-ago are not replying to your emailed questions. -Anonymous
Version control:
Git allows you to take “snapshots” of the contents of a folder on your machine as you make changes to them
Think of GitHub as the canonical “central copy” of the repository
If you do not have a GitHub account, get one (for free) at www.github.com
If you do not have Git installed on your computer, install it
brew install git
)During setup, configure Git with your user name (use your full name, not your Andrew ID) and your user email (which should be the same one you used to sign up for your GitHub account)
In GitHub do the following:
In RStudio, do the following:
You should see that your Files pane is listing the files in your local repository, including one ending in .Rproj, and the README.md file that was created on GitHub
To (say) add a new file to your local repository:
When there is more than one person working on the project: