Statalist


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

Re: st: estwrite error r(603)


From   "Ben Jann" <[email protected]>
To   [email protected]
Subject   Re: st: estwrite error r(603)
Date   Tue, 16 Dec 2008 22:08:17 +0100

-estwrite- uses Mata to write it's files (unless you use Stata 8 or
specify the -estsave- option). Maybe Mata has problems writing to the
portable HD. Try something like

mata
fn = "test.txt"
fh = fopen(fn, "w")
fput(fh, "whatever")
flose(fh)
end

or

mata
X = 1
mata matsave test X
end

Does this work?
ben

On Tue, Dec 16, 2008 at 5:05 PM, Carl Nelson <[email protected]> wrote:
> I experienced a file open error with estwrite and am wondering if someone can explain the cause or a fix.
>
> estwrite works fine when I write to a folder in my documents on the c drive on my laptop.
>
> but it generates r(603) when I try to write to a folder on a western digital passport portable hd connected to a usb port. Stata has no problem reading data or writing logs to the portable hd.
>
> *
> *   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/
>
*
*   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