Skip to content

cathy10/lab1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

STA521 Lab1 8/30/2019

Overview

In this lab

  • we will cover using RStudio on Saxon or a laptop
  • demonstrate RNotebooks (for more info see the RStudio page)

For why Reproducible Research is important read Yihui's post (and watch the video in the blog https://www.youtube.com/watch?v=eV9dcAGaVU8 about what happened at Duke when Reproducible Research was not used!) or https://simplystatistics.org/2014/06/06/the-real-reason-reproducible-research-is-important/, or review CaseStudies from the (StatSci Computing Bootcamp)[https://github.com/DukeStatSci/computing-bootcamp-2018]

Preliminaries

A couple things to get everyone on the same page,

  1. If you don't have one, sign up for a GitHub account (it takes 1 min.)

Ready?

Start R-Studio

If you have a StatSci account,
1) Go to the main page for the repository https://github.com/STA521-f19/lab1 and click on the button to clone or download on the right hand side. Copy the link. 2) Open RStudio on Saxon https://saxon.stat.duke.edu:8787 and login with your Duke netid and password. 3) Create a new Project. In RStudio, click on New Project in the file menu. Select Version Control, then Git. Enter the link you copied in Step 1 or type in https://github.com/STA521-f19/lab1.git in the Repository URL field, provide a name for the project, e.g. 'lab1', and select a directory to save your work, e.g. Labs We suggest that you make a folder for STA521 to save your work for the course. 4) On the lower right panel in RStudio, click on the Files tab. You should see a listing of the files in your directory. Click on lab1.Rmd to open it in the RStudio editor and then follow instructions there.

For more on getting started using RStudio and git see the StatSci ComputingBootcamp slides and other materials at StatSci ComputingBootcamp

If you are unable to login to saxon in lab, please see the TA or instructor. Email [email protected] and provide your Full Name and netid.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published