Statalist


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

RE: st: AW: estout "could not open file"


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: AW: estout "could not open file"
Date   Wed, 10 Feb 2010 16:47:43 -0000

I have a comment and a question. 

First, people should specify their platform explicitly in advance if
it's pertinent to their question. "64 bit" does not do that. 

Second, the implication here seems to be that " " are essential on OS X
even if a filename contains no embedded spaces. I don't have OS X to
test that (my loss) but I'd be surprised if that were true. 

Nick 
n.j.cox@durham.ac.uk 

R. Jamil Jonna

Thanks Martin,

But that hint doesn't really help OS X users. If your are a mac user,
the solution is to use quotation marks around the path and to let STATA
create the file. For example,

. regress partratio empratio exratio popinv
. estout using "/Users/XXX/Documents/regress.txt"

This will create the file "regress.txt" for you in the defined place. No
errors. 

On Feb 9, 2010, at 4:46 AM, Martin Weiss wrote:

> http://www.stata.com/statalist/archive/2007-05/msg00802.html

R. Jamil Jonna

> I'm using the 64 bit version of stata 10 and I'm trying to use estout
to
> export some regressions to a text file but I keep getting the file
"could
> not be opened" message. I tried changing the permissions on both the
> individual file and the folder to no avail. I also searched the
archives and
> while some people had somewhat similar problems, none seemed directly
> applicable. 

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index