top of page
Search

Stata Workflow optimization with GRAPHLOG

The basic workflow recommendations for Stata code and folder hierarchy given by Scott Long is relative easy to extend with inclusion of graphics in pdf log files.

In Stata using point-and-click:

*Get links to template files find workflow 


*Install graphlog (and updates) find graphlog 

Run example:

pwd mkdir “C:\WorkFlow” cd “C:\WorkFlow” preserve capture log close log using workflowtest.log, replace *//  test.do: *//  gunnar 2019/03/10 version 10 clear all macro drop _all set linesize 80 * my commands start here sysuse auto summarize trunk histogram trunk, normal graph export graph.pdf, replace log close restore *Assume installed pdflatex (TeXLive, MikTeX) graphlog using workflowtest, lspacing(1) replace *exit



3 views0 comments

Recent Posts

See All

dplyr or base R

dplyr and tidyverse are convenient frameworks for data management and technical analytic programming. With more than 25 years of R...

Comments


bottom of page