diff --git a/.sconsign.dblite b/.sconsign.dblite index 45c8bd9..3319f8e 100644 Binary files a/.sconsign.dblite and b/.sconsign.dblite differ diff --git a/output/analysis/sconscript.log b/output/analysis/sconscript.log index 9a67fea..d5c0580 100644 --- a/output/analysis/sconscript.log +++ b/output/analysis/sconscript.log @@ -1,11 +1,11 @@ -*** Builder log created: 2017-01-19 11:02:37 -*** Builder log completed: 2017-01-19 11:02:38 +*** Builder log created: 2017-01-24 15:58:26 +*** Builder log completed: 2017-01-24 15:58:31 ___ ____ ____ ____ ____ (R) /__ / ____/ / ____/ -___/ / /___/ / /___/ 14.1 Copyright 1985-2015 StataCorp LP +___/ / /___/ / /___/ 14.2 Copyright 1985-2015 StataCorp LP Statistics/Data Analysis StataCorp 4905 Lakeway Drive MP - Parallel Edition College Station, Texas 77845 USA diff --git a/output/data/sconscript.log b/output/data/sconscript.log index c465203..371eb70 100644 --- a/output/data/sconscript.log +++ b/output/data/sconscript.log @@ -1,9 +1,9 @@ -*** Builder log created: 2017-01-19 11:02:37 -*** Builder log completed: 2017-01-19 11:02:37 +*** Builder log created: 2017-01-24 15:58:25 +*** Builder log completed: 2017-01-24 15:58:26 -R version 3.3.0 (2016-05-03) -- "Supposedly Educational" +R version 3.3.2 (2016-10-31) -- "Sincere Pumpkin Patch" Copyright (C) 2016 The R Foundation for Statistical Computing Platform: x86_64-apple-darwin13.4.0 (64-bit) @@ -21,8 +21,6 @@ Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. -[Previously saved workspace restored] - > main <- function(){ + x <- seq(-10, 10, 0.1) + write.table(x, "output/data/data.txt", sep = "|", row.names = FALSE, col.names = FALSE) @@ -32,4 +30,4 @@ Type 'q()' to quit R. > > proc.time() user system elapsed - 0.105 0.022 0.133 + 0.111 0.024 0.143 diff --git a/output/paper/online_appendix.pdf b/output/paper/online_appendix.pdf index b1f312f..fbfb2c8 100644 Binary files a/output/paper/online_appendix.pdf and b/output/paper/online_appendix.pdf differ diff --git a/output/paper/paper.pdf b/output/paper/paper.pdf index 6b81c03..738403e 100644 Binary files a/output/paper/paper.pdf and b/output/paper/paper.pdf differ diff --git a/output/paper/sconscript.log b/output/paper/sconscript.log index a887731..484ee1a 100644 --- a/output/paper/sconscript.log +++ b/output/paper/sconscript.log @@ -1,6 +1,6 @@ -*** Builder log created: 2017-01-19 11:02:39 -*** Builder log completed: 2017-01-19 11:02:40 +*** Builder log created: 2017-01-24 15:58:36 +*** Builder log completed: 2017-01-24 15:58:38 This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016) (preloaded format=pdflatex) restricted \write18 enabled. diff --git a/sconstruct.log b/sconstruct.log index 21e6f4b..a3c3769 100644 --- a/sconstruct.log +++ b/sconstruct.log @@ -307,3 +307,262 @@ build_lyx(["output/paper/online_appendix.pdf"], ["source/paper/online_appendix.l build_lyx(["output/paper/paper.pdf"], ["source/paper/paper.lyx"]) build_lyx(["output/talk/slides.pdf"], ["source/talk/slides.lyx"]) scons: done building targets. + +*** New build: 2017-01-20 14:12:25 *** +^^^ New build: 2017-01-20 14:12:25 ^^^ +scons: done reading SConscript files. +scons: Building targets ... +scons: `output' is up to date. +scons: done building targets. + +*** New build: 2017-01-20 14:12:41 *** +^^^ New build: 2017-01-20 14:12:41 ^^^ +scons: done reading SConscript files. +scons: Building targets ... +scons: Nothing to be done for `source/data/SConscript'. +scons: done building targets. + +*** New build: 2017-01-20 14:13:17 *** +^^^ New build: 2017-01-20 14:13:17 ^^^ +scons: done reading SConscript files. +scons: Building targets ... +scons: `.' is up to date. +scons: done building targets. + +*** New build: 2017-01-20 14:13:24 *** +^^^ New build: 2017-01-20 14:13:24 ^^^ +scons: done reading SConscript files. +scons: Building targets ... +scons: Nothing to be done for `source/data/SConscript'. +scons: done building targets. + +*** New build: 2017-01-20 14:13:31 *** +^^^ New build: 2017-01-20 14:13:31 ^^^ +scons: done reading SConscript files. +scons: Building targets ... +scons: Nothing to be done for `source/data/SConscript'. +scons: done building targets. + +*** New build: 2017-01-20 14:34:37 *** +*** Builder log created: 2017-01-20 14:34:37 +*** Builder log completed: 2017-01-20 14:34:38 + + +R version 3.3.0 (2016-05-03) -- "Supposedly Educational" +Copyright (C) 2016 The R Foundation for Statistical Computing +Platform: x86_64-apple-darwin13.4.0 (64-bit) + +R is free software and comes with ABSOLUTELY NO WARRANTY. +You are welcome to redistribute it under certain conditions. +Type 'license()' or 'licence()' for distribution details. + + Natural language support but running in an English locale + +R is a collaborative project with many contributors. +Type 'contributors()' for more information and +'citation()' on how to cite R or R packages in publications. + +Type 'demo()' for some demos, 'help()' for on-line help, or +'help.start()' for an HTML browser interface to help. +Type 'q()' to quit R. + +[Previously saved workspace restored] + +> main <- function(){ ++ x <- seq(-10, 10, 0.1) ++ write.table(x, "output/data/data.txt", sep = "|", row.names = FALSE, col.names = FALSE) ++ } +> +> main() +> +> proc.time() + user system elapsed + 0.117 0.033 0.523 + +^^^ New build: 2017-01-20 14:34:37 ^^^ +scons: done reading SConscript files. +scons: Building targets ... +build_r(["output/data/data.txt"], ["source/data/build.R"]) +scons: done building targets. + +*** New build: 2017-01-24 15:58:06 *** +*** Builder log created: 2017-01-24 15:58:07 +*** Builder log completed: 2017-01-24 15:58:08 + + +R version 3.3.2 (2016-10-31) -- "Sincere Pumpkin Patch" +Copyright (C) 2016 The R Foundation for Statistical Computing +Platform: x86_64-apple-darwin13.4.0 (64-bit) + +R is free software and comes with ABSOLUTELY NO WARRANTY. +You are welcome to redistribute it under certain conditions. +Type 'license()' or 'licence()' for distribution details. + + Natural language support but running in an English locale + +R is a collaborative project with many contributors. +Type 'contributors()' for more information and +'citation()' on how to cite R or R packages in publications. + +Type 'demo()' for some demos, 'help()' for on-line help, or +'help.start()' for an HTML browser interface to help. +Type 'q()' to quit R. + +> main <- function(){ ++ x <- seq(-10, 10, 0.1) ++ write.table(x, "output/data/data.txt", sep = "|", row.names = FALSE, col.names = FALSE) ++ } +> +> main() +> +> proc.time() + user system elapsed + 0.118 0.038 0.648 + +^^^ New build: 2017-01-24 15:58:06 ^^^ +scons: done reading SConscript files. +scons: Building targets ... +build_r(["output/data/data.txt"], ["source/data/build.R"]) +scons: done building targets. + +*** New build: 2017-01-24 15:58:25 *** +*** Builder log created: 2017-01-24 15:58:25 +*** Builder log completed: 2017-01-24 15:58:26 + + +R version 3.3.2 (2016-10-31) -- "Sincere Pumpkin Patch" +Copyright (C) 2016 The R Foundation for Statistical Computing +Platform: x86_64-apple-darwin13.4.0 (64-bit) + +R is free software and comes with ABSOLUTELY NO WARRANTY. +You are welcome to redistribute it under certain conditions. +Type 'license()' or 'licence()' for distribution details. + + Natural language support but running in an English locale + +R is a collaborative project with many contributors. +Type 'contributors()' for more information and +'citation()' on how to cite R or R packages in publications. + +Type 'demo()' for some demos, 'help()' for on-line help, or +'help.start()' for an HTML browser interface to help. +Type 'q()' to quit R. + +> main <- function(){ ++ x <- seq(-10, 10, 0.1) ++ write.table(x, "output/data/data.txt", sep = "|", row.names = FALSE, col.names = FALSE) ++ } +> +> main() +> +> proc.time() + user system elapsed + 0.111 0.024 0.143 + +*** Builder log created: 2017-01-24 15:58:26 +*** Builder log completed: 2017-01-24 15:58:31 + + + ___ ____ ____ ____ ____ (R) + /__ / ____/ / ____/ +___/ / /___/ / /___/ 14.2 Copyright 1985-2015 StataCorp LP + Statistics/Data Analysis StataCorp + 4905 Lakeway Drive + MP - Parallel Edition College Station, Texas 77845 USA + 800-STATA-PC http://www.stata.com + 979-696-4600 stata@stata.com + 979-696-4601 (fax) + +Unlimited-user 4-core Stata network license expires 21 Jul 2017: + Serial number: 501409012939 + Licensed to: Quan Le + Stanford University + +Notes: + 1. Stata is running in batch mode. + 2. Unicode is supported; see help unicode_advice. + 3. More than 2 billion observations are allowed; see help obs_advice. + 4. Maximum number of variables is set to 5000; see help set_maxvar. + +. do "source/analysis/analysis.do" + +. program main + 1. import delimited "output/data/data.txt", delimiter("|") varnames(nonam +> es) clear + 2. rename v1 obs_value + 3. gen obs_number = _n + 4. graph twoway line obs_value obs_number + 5. graph export "output/analysis/plot.eps" + 6. end + +. +. main +(1 var, 201 obs) +(file output/analysis/plot.eps written in EPS format) + +. +end of do-file + +*** Builder log created: 2017-01-24 15:58:31 +*** Builder log completed: 2017-01-24 15:58:36 + +This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016) (preloaded format=pdflatex) + restricted \write18 enabled. +entering extended mode +(./online_appendix.tex +LaTeX2e <2016/03/31> +Babel <3.9r> and hyphenation patterns for 83 language(s) loaded. + +This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016) (preloaded format=pdflatex) + restricted \write18 enabled. +entering extended mode +(./online_appendix.tex +LaTeX2e <2016/03/31> +Babel <3.9r> and hyphenation patterns for 83 language(s) loaded. + + +*** Builder log created: 2017-01-24 15:58:36 +*** Builder log completed: 2017-01-24 15:58:38 + +This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016) (preloaded format=pdflatex) + restricted \write18 enabled. +entering extended mode +(./paper.tex +LaTeX2e <2016/03/31> +Babel <3.9r> and hyphenation patterns for 83 language(s) loaded. + +This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016) (preloaded format=pdflatex) + restricted \write18 enabled. +entering extended mode +(./paper.tex +LaTeX2e <2016/03/31> +Babel <3.9r> and hyphenation patterns for 83 language(s) loaded. + + +*** Builder log created: 2017-01-24 15:58:38 +*** Builder log completed: 2017-01-24 15:58:41 + +This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016) (preloaded format=pdflatex) + restricted \write18 enabled. +entering extended mode +(./slides.tex +LaTeX2e <2016/03/31> +Babel <3.9r> and hyphenation patterns for 83 language(s) loaded. + +This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016) (preloaded format=pdflatex) + restricted \write18 enabled. +entering extended mode +(./slides.tex +LaTeX2e <2016/03/31> +Babel <3.9r> and hyphenation patterns for 83 language(s) loaded. + + +^^^ New build: 2017-01-24 15:58:25 ^^^ +scons: done reading SConscript files. +scons: Building targets ... +build_r(["output/data/data.txt"], ["source/data/build.R"]) +build_stata(["output/analysis/plot.eps"], ["source/analysis/analysis.do"]) +build_lyx(["output/paper/online_appendix.pdf"], ["source/paper/online_appendix.lyx"]) +build_lyx(["output/paper/paper.pdf"], ["source/paper/paper.lyx"]) +build_lyx(["output/talk/slides.pdf"], ["source/talk/slides.lyx"]) +scons: done building targets. diff --git a/source/analysis/SConscript b/source/analysis/SConscript index 7e46e63..fe24c9d 100644 --- a/source/analysis/SConscript +++ b/source/analysis/SConscript @@ -4,4 +4,4 @@ target = '#output/analysis/plot.eps' source = '#source/analysis/analysis.do' assets = '#output/data/data.txt' env.Depends(target, assets) -env.Stata(target, source) \ No newline at end of file +env.Stata(target, source)