Student: Nguyen, Nhan
Some helpful resources for R:
Some helpful resources for Git:
-
Install R from CRAN, it is free. If you already have R installed, please check that you have a recent version (at least 3.6.0).
-
Install Rstudio, it is free. If you already have Rstudio installed, please update to the most recent version.
- Install git. If you use Windows, use git for Windows. In your terminal, configure Git to recognize you.
git config user.name “First Last"
git config --global user.email "[email protected]"
-
Fork this repository using Fork at the top right corner (this will create a repository in your GitHub account)
-
Clone your repository to local machine using
git clone address to folder
(make sure you are already within the folder you want it to clone to) -
Open Rstudio and make sure you have the version control enabled, see Rstudio version control for further help.
-
Use Rstudio to open the project associated with this directory. You should see the Git tab appear next to Environment and History consoles which will enable you to do staging, commits, pulls and pushes from within Rstudio. You will make all the changes locally, and only then push them to Github.
To practice using git, create the following changes with several commmits. First, get accustomed with good commit practices
-
Change the last name, first name at the top of this document to your last name/first name.
-
Practice writing an R function in Function_test.R
-
Make sure to make consistent commits throughout and push your changes to GitHub in the end.