The following (shortened) code is present in my .do file:
I have no issues with exporting. However, it bothers me that the graphs appear every time, because I have many graphs. I tried to use -set graphics off-, however this does not solve the problem. While graphs no longer appear, for some reason they are also not exported. The full code runs without obtaining errors.
HTML Code:
xi: qui reghdfe `y' base `int_pre' `int_post' $dmog if `sample', cl($c) a($c $age) est sto table_es2 coefplot (table_es2, omitted keep(`int_pre' `int_post' base)), `opt_event' graph export "./graphs`baseyr'/g`regname'_2.png", replace

Comment