Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Trouble with outreg2 and Stata 10- filepaths that include spaces


From   "Erika Morris" <[email protected]>
To   [email protected]
Subject   st: Trouble with outreg2 and Stata 10- filepaths that include spaces
Date   Tue, 13 Jan 2009 14:09:45 -0600

Dear Stata list members-

I would appreciate your help with the outreg2 command.  I have used
this command in the past without trouble; however, I recently upgraded
to Stata 10.1 and am now encountering difficulties. If I specify an
output file path and name that has any spaces in it, and also specify
a file type for the outreg2 command (e.g. excel or text), I get an
error message.

Example:
. outreg2 using "C:\Documents and Settings\emorris\My
Documents\results", excel auto(3) replace
invalid 'and'
r(198);

Information about the outreg2 command I am using:
. which outreg2
c:\ado\plus\o\outreg2.ado
*! outreg2 2.0.3 Jul2008 by [email protected]
*! based on outreg 3.0.6/4.0.0 by [email protected]


Thanks-

Erika Morris
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index