forked from rdpeng/rprogdatascience
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
99 lines (78 loc) · 2.8 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
all: overview.md example.md nutsbolts.md subsetting.md readwritedata.md vectorized.md dates.md dplyr.md control.md functions.md scoping.md coding.md apply.md debugging.md simulation.md profiler.md regex.md parallel.md
book_codefiles.zip: all
./codefiles.R
cat codefiles_output.txt |xargs zip $@
book_datasets.zip: chicago.rds homicides.txt pm25_data/RD_501_88101_1999-0.txt pm25_data/RD_501_88101_2012-0.txt words.gz specdata/*.csv data/*
zip -r $@ $^
parallel.md: parallel.Rmd
knit.R $<
R --no-save --args $@ < fixmath.R
regex.md: regex.Rmd
knit.R $<
perl -npi -e 's/```r/{line-numbers=off}\n~~~~~~~~/' $@
perl -npi -e 's/```/~~~~~~~~/' $@
dplyr.md: dplyr.Rmd
knit.R $<
perl -npi -e 's/```r/{line-numbers=off}\n~~~~~~~~/' $@
perl -npi -e 's/```/~~~~~~~~/' $@
simulation.md: simulation.Rmd
knit.R $<
R --no-save --args $@ < fixmath.R
perl -npi -e 's/```r/{line-numbers=off}\n~~~~~~~~/' $@
perl -npi -e 's/```/~~~~~~~~/' $@
profiler.md: profiler.Rmd
knit.R $<
perl -npi -e 's/```r/{line-numbers=off}\n~~~~~~~~/' $@
perl -npi -e 's/```/~~~~~~~~/' $@
debugging.md: debugging.Rmd
knit.R $<
perl -npi -e 's/```r/{line-numbers=off}\n~~~~~~~~/' $@
perl -npi -e 's/```/~~~~~~~~/' $@
apply.md: apply.Rmd
knit.R $<
R --no-save --args $@ < fixmath.R
perl -npi -e 's/```r/{line-numbers=off}\n~~~~~~~~/' $@
perl -npi -e 's/```/~~~~~~~~/' $@
scoping.md: scoping.Rmd
knit.R $<
perl -npi -e 's/```r/{line-numbers=off}\n~~~~~~~~/' $@
perl -npi -e 's/```/~~~~~~~~/' $@
coding.md: coding.Rmd
knit.R $<
dates.md: dates.Rmd
knit.R $<
perl -npi -e 's/```r/{line-numbers=off}\n~~~~~~~~/' $@
perl -npi -e 's/```/~~~~~~~~/' $@
functions.md: functions.Rmd
knit.R $<
perl -npi -e 's/```r/{line-numbers=off}\n~~~~~~~~/' $@
perl -npi -e 's/```/~~~~~~~~/' $@
control.md: control.Rmd
knit.R $<
perl -npi -e 's/```r/{line-numbers=off}\n~~~~~~~~/' $@
perl -npi -e 's/```/~~~~~~~~/' $@
vectorized.md: vectorized.Rmd
knit.R $<
perl -npi -e 's/```r/{line-numbers=off}\n~~~~~~~~/' $@
perl -npi -e 's/```/~~~~~~~~/' $@
subsetting.md: subsetting.Rmd
knit.R $<
R --no-save --args $@ < fixmath.R
perl -npi -e 's/```r/{line-numbers=off}\n~~~~~~~~/' $@
perl -npi -e 's/```/~~~~~~~~/' $@
nutsbolts.md: nutsbolts.Rmd
knit.R $<
perl -npi -e 's/```r/{line-numbers=off}\n~~~~~~~~/' $@
perl -npi -e 's/```/~~~~~~~~/' $@
example.md: example.Rmd
knit.R $<
perl -npi -e 's/```r/{line-numbers=off}\n~~~~~~~~/' $@
perl -npi -e 's/```/~~~~~~~~/' $@
overview.md: overview.Rmd
knit.R $<
perl -npi -e 's/```r/{line-numbers=off}\n~~~~~~~~/' $@
perl -npi -e 's/```/~~~~~~~~/' $@
readwritedata.md: readwritedata.Rmd
knit.R $<
perl -npi -e 's/```r/{line-numbers=off}\n~~~~~~~~/' $@
perl -npi -e 's/```/~~~~~~~~/' $@