top of page

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 *// *//  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 and tidyverse are convenient frameworks for data management and technical analytic programming. With more than 25 years of R experience, I have a tendency to analyze programmatic problems before

bottom of page