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

SAS University Edition load error solution

Using SAS University Edition with VirtualBox in Fedora requires kernel signing of 3 modules. Avoid this by disabling Secure Boot in BIOS settings. Secure Boot makes it impossible to load nonauthorized

©2020 by Danish Institute for Data Science. Proudly created with Wix.com