Statalist


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

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


From   Eric Booth <[email protected]>
To   [email protected]
Subject   Re: st: AW: estout "could not open file"
Date   Wed, 10 Feb 2010 11:41:46 -0600

>

On Feb 10, 2010, at 10:47 AM, Nick Cox wrote:

> 
> 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. 
> 

You are right--you do not need double quotes around a file path in OSX if there no 
embedded spaces, the filepaths in Stata commands function in OSX just as they do 
in Windows.  

  @Jonna:   You might want to look at this thread:

http://www.stata.com/statalist/archive/2009-05/msg00394.html

Though this solution is Windows based, you could change the shell "attrib" command 
to something like:

      !chmod a+w  "/user/username/filenamehere.txt"

*see this website for more on options for changing read/write attributes in OSX:
http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/man1/chmod.1.html


Finally, this could be a permissions issue for that file/folder, use disk utility to check for this:
http://support.apple.com/kb/HT1452

~ Eric

__
Eric A. Booth
Public Policy Research Institute
Texas A&M University
[email protected]
Office: +979.845.6754
Fax: +979.845.0249
http://ppri.tamu.edu


*
*   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