Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: outreg2 and r(601) file C:\Documents.dta not found


From   Roy Wada <[email protected]>
To   <[email protected]>
Subject   st: RE: outreg2 and r(601) file C:\Documents.dta not found
Date   Thu, 24 Jan 2008 10:24:14 -0800

Thanks, I will ask the estimable Kit Baum to upload an updated version to SSC. While I do not know why this problem has not come up before, adding the compound quotes should do no harm and I appreciate the detailed diagnosis by Austin Nichols, Brian Fryd, and Martin H�llsten. For the record, user suggestions are very much appreciated, I find them very helpful, it happens that some suggestions are more easily implemented than others.

Roy

P.S. This is a resend again. It's definitely gotten less fun posting to Statalist ever since Hotmail changed to HTML.


> From: [email protected]
> To: [email protected]
> CC: [email protected]; [email protected]
> Subject: RE: outreg2 and r(601) file C:\Documents.dta not found
> Date: Wed, 23 Jan 2008 16:03:50 +0100
>
> Thanks to Austin Nichols and Brian Fryd the problem is solved. outreg2 needs to be updated with
> compound double quotes in order to in batchmode. I just noted that plain outreg has a comment on
> this in the ado (that the mac users need this).
>
> For instance,
>
> - merge `vartmp' using `tmpf1'
>
> should be changed to
>
> - merge `vartmp' using "`tmpf1'"
> or
> - merge `vartmp' using `"`tmpf1'"'
> (I think either works, but the latter is better, right?)
>
> The other instances that need to be changed in the same fashion are
>
> save `labelfile'
> joinby var1 using `labelfile'
> save `appending', replace
>
> I notify Roy to see if he can issue an update. Thanks for all help.
>
> Martin
>
> -----Original Message-----
> From: Martin H�llsten [mailto:[email protected]]
> Sent: den 23 januari 2008 15:13
> To: '[email protected]'
> Subject: outreg2 and r(601) file C:\Documents.dta not found
>
> Dear Statlist,
>
> I have encountered a problem when using the (latest) outreg2 ado in batchmode. The error message is
>
> r(601);
> file C:\Documents.dta not found
>
> and it appears in the following section, when issuing a merge command.
>
> 
> - merge `vartmp' using `tmpf1'
> = merge __00000R using C:\Documents and Settings\martha\Local Settings\Temp\ST_0200000d.tmp
> ----------------------------------------------------- begin merge ---
> 
> - if `using_file_num' == 1 {
> = if 1 == 1 {
> - _merge `vlist' using "`file'", `_mergeoption' `uniqopts' msginit `o
>> ptions'
> = _merge __00000R using "C:\Documents", _merge(_merge) msginit
> file C:\Documents.dta not found
>
>
> I have browsed statalist for this error message in combination with outreg and outreg2, but I have
> found no answers. It appears to me that somehow a local macro
>
> "`file'"
>
> contains only
>
> "C:\Documents"
>
> and seem to have lost its "tail". It should, I guess, contain something like
>
> "C:\Documents and Settings\martha\Local Settings\Temp\ST_0200000d.tmp"
>
> I have assured that I have reading and writing rights for statas tempdir.
>
> Does anyone of you have any idea what might have caused this error? The funny thing is that I can
> run the same program when using stata in non-batchmode without errors. Any idea on how to proceed is
> appreciated.
>
> Best regards
>
> Martin H�llsten

_________________________________________________________________
Connect and share in new ways with Windows Live.
http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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