GithubHelp home page GithubHelp logo

nhannguyen993 / gitsetup Goto Github PK

View Code? Open in Web Editor NEW

This project forked from irinagain/gitsetup

0.0 0.0 0.0 260 KB

Basic git setup (loosely based on HW1 from STAT 600: Computational Statistics)

R 100.00%

gitsetup's Introduction

Getting started with R and Git

Student: Nguyen, Nhan

Some helpful resources for R:

Some helpful resources for Git:

Part 1: R installation

  • 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.

Part 2: Git installation and configuration

  • 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]"

Part 3: Integration of Git, Github and R

  • 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.

Part 4: Git basics practicing

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.

gitsetup's People

Contributors

irinagain avatar nhannguyen993 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.