Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: mi impute dta file issue


From   ymarchenko@stata.com (Yulia Marchenko, StataCorp LP)
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: mi impute dta file issue
Date   Mon, 02 May 2011 09:52:10 -0500

Barry Quinn <b.quinn@qub.ac.uk> receives an error from -mi impute- that
system file _mitmpfile1.dta is read only:

> When running the following command 
> 
> mi impute reg b bd, add(20) force
>
> I keep getting an error that the a file (file_mitmpfile1.dta) is read only
> and cannot be modified and thus no values are imputed.  Has anyone had this
> before or is it just a permission issue in my file directory ??

The most likely reasons for this error message are that Barry
does not have permission to write to the current directory or
that somehow the file was left behind from a previous run and has
permissions set on it such that Barry cannot overwrite it.  -mi
impute- saves intermediate files in the current directory and
thus requires permission to write to it.  Barry can use the -pwd-
command to determine the current directory (after which he should
change its permissions) or use the -cd- command to switch to a
directory where he already has write permission.

If Barry continues to receive this error, he should contact
Technical Services at tech_support@stata.com and they will help
him solve it.


-- Yulia
ymarchenko@stata.com
*
*   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   |   Site index