Download Workflow of statistical data analysis - 2011

Transcript
c Oliver Kirchkamp
Workflow
8
9
[ 18th July 2013, 10:26 ] — 4
Version control
8.1 Problem I – concurrent edits . . . . . . . . . . . . . .
8.2 A “simple” solution: locking . . . . . . . . . . . . . .
8.3 Problem II – nonlinear work . . . . . . . . . . . . . .
8.4 Solution to problem II: nonlinear work . . . . . . . .
8.5 Solution to problem I: concurrent edits . . . . . . . .
8.6 Edits without conflicts: . . . . . . . . . . . . . . . . .
8.7 Going back in time . . . . . . . . . . . . . . . . . . .
8.8 git and subversion . . . . . . . . . . . . . . . . . . .
8.9 Steps to set up a subversion repository at the URZ at
the FSU Jena . . . . . . . . . . . . . . . . . . . . . . .
8.10 Setting up a subversion repository on your own computer . . . . . . . . . . . . . . . . . . . . . . . . . . .
8.11 Usual workflow with git . . . . . . . . . . . . . . . .
8.12 Exercise . . . . . . . . . . . . . . . . . . . . . . . . . .
Exercises
1
1.1
.
.
.
.
.
.
.
.
93
93
94
94
95
99
101
103
103
. 104
. 105
. 105
. 106
106
Introduction
Motivation
Literature: Surprisingly, there is not much literature about workflow of statistical data analysis:
• J. Scott Long; The Workflow of Data Analysis Using Stata,
Stata Press, 2009
• Friedrich Leisch; Sweave User Manual
• Nicola Sartori; Sweave = R · LATEX2
• Scott Chacon; Pro Git
• Ben Collins-Sussman, Brian W. Fitzpatrick, C. Michael
Pilato; Version Control with Subversion