Issue:
Hi there I am having some trouble with "tabstatout". I am trying to export the results into an excel sheet I have created called: tabstatout.csv. However I keep recieving an error message:
I have tried letting Stata create the file by including " " in the tf(), this is not helping either. E.g:
More info:
Hi there I am having some trouble with "tabstatout". I am trying to export the results into an excel sheet I have created called: tabstatout.csv. However I keep recieving an error message:
file tabstatout.csv could not be opened
r(603)The code I am running:
tabstatout all_c1997 all_c1998 all_c1999 all_c2000 all_c2001 all_c2002 all_c2003 all_c2004 all_c2005 all_c2006 all_c2007 all_c2008 all_c2009 all_c2010 all_c2011 if miss_total==0, by(sector) stat(mean sum) tf(tabstatout) c(s) f(%9.1fc)Options tried, but haven't worked:
I have tried letting Stata create the file by including " " in the tf(), this is not helping either. E.g:
tabstatout all_c1997 all_c1998 all_c1999 all_c2000 all_c2001 all_c2002 all_c2003 all_c2004 all_c2005 all_c2006 all_c2007 all_c2008 all_c2009 all_c2010 all_c2011 if miss_total==0, by(sector) stat(mean sum) tf("tabstatout") c(s) f(%9.1fc)I have seen previous queries on Statalist, all of these have been in relation to command outreg2, so are not entirely applicable.
More info:
- My current directory is on my C drive.
- I am using Stata/SE 12.0 and am using a Dell operating Windows 10.
Comment