Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: unexpected end of file when execute glm
From
Eric Booth <[email protected]>
To
"<[email protected]>" <[email protected]>
Subject
Re: st: unexpected end of file when execute glm
Date
Wed, 7 Jul 2010 16:39:25 +0000
<>
You're right-- the .plist file from the link I posted won't remind you of unclosed comments /* */,
but it will change the color of all words enclosed in quotes further down in the do-file until you close
your comment. However, that's not a great solution. I forgot that to get this functionality I had installed
a fix that was created by Steve Samuels as described here:
http://www.stata.com/statalist/archive/2008-09/msg01043.html
and is available for download here:
http://sites.google.com/site/disinterested/CommentUncomment.scpt?attredirects=0
You'll need to edit the script file as described in Steve's post and assign short cut keys.
~ Eric
__
Eric A. Booth
Public Policy Research Institute
Texas A&M University
[email protected]
Office: +979.845.6754
On Jul 7, 2010, at 11:22 AM, G. Dai wrote:
> yes, I have the module with the Text Wrangler. But it doesn't remind
> me the missing "/" . Do yours remind you? how?
>
> On Wed, Jul 7, 2010 at 9:14 AM, Eric Booth <[email protected]> wrote:
>> <>
>>
>> You can get syntax highlighting for Text Wrangler. I use the Stata module from:
>>
>> http://dataninja.wordpress.com/2006/02/28/stata-language-module-for-textwrangler/
>>
>> ~ Eric
>> __
>> Eric A. Booth
>> Public Policy Research Institute
>> Texas A&M University
>> [email protected]
>>
>>
>> On Jul 7, 2010, at 11:09 AM, G. Dai wrote:
>>
>>> I'm on a MAC and stick with Textwrangler. It is free and good though
>>> it fails to help me in avoiding the mistake.
>>>
>>> On Wed, Jul 7, 2010 at 9:01 AM, Martin Weiss <[email protected]> wrote:
>>>>
>>>> <>
>>>>
>>>> A text editor with "tags", such as UltraEdit will help you avoid such
>>>> mistakes...
>>>>
>>>>
>>>> HTH
>>>> Martin
>>>>
>>>>
>>>> -----Original Message-----
>>>> From: [email protected]
>>>> [mailto:[email protected]] On Behalf Of G. Dai
>>>> Sent: Mittwoch, 7. Juli 2010 17:52
>>>> To: [email protected]
>>>> Subject: Re: st: unexpected end of file when execute glm
>>>>
>>>> thanks Eric, I fixed it. it works now.
>>>>
>>>> But another problem is the glm execute very very slow. Actually, it
>>>> took me 2 or three hours to finish the command.
>>>> I don/'t have many obs, about 4000. So, why is it so slow?
>>>>
>>>>
>>>> On Wed, Jul 7, 2010 at 8:46 AM, Eric Booth <[email protected]> wrote:
>>>>> <>
>>>>>
>>>>> Hi Guang:
>>>>>
>>>>> It looks like the issue might be with the comment in your first line:
>>>>>
>>>>> 13. svy: glm r`i'pin r`i'`x'nhu /*parental NH stay experience*
>>>>>
>>>>> you don't close it with "*/", so Stata keeps looking for the end of the
>>>> comment, which it never finds.
>>>>>
>>>>> ~ Eric
>>>>> __
>>>>> Eric A. Booth
>>>>> Public Policy Research Institute
>>>>> Texas A&M University
>>>>> [email protected]
>>>>> Office: +979.845.6754
>>>>>
*
* 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/