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: .ado and .plugin
Sergiy Radyakin <email@example.com>
Re: st: .ado and .plugin
Thu, 2 Dec 2010 15:44:48 -0500
Dear Cecilia Ann,
nobody wants to attack you here. Austin is just requesting additional
help you solve your problem. He is not asking for the reason,
something you don't
know (otherwise you wouldn't write here), like any doctor is asking a
the SYMPTOMS of an illness, he is asking for COMMANDS and OUTPUT. Coming
to the doctor and saying "I feel sick" is of no use, unless there is a
examine the patient. Since noone has access to your computer, the only way is
to communicate this information in the emails.
Based on the information you already provided, most probably creating
a .plugin file is
something wrong (unless somebody else has passed that file to you).
Given that the COMMANDNAME is the name of your new command (choose
1. Type which COMMANDNAME and report what happens.
2. Type findfile COMMANDNAME.ado and report what happens
3. Type sysdir and report what happens.
4. Type update query and report what happens.
When you write: "I put them together in stata11 ado file" explain
where you save the file
is it in the Stata 11 folder? Specify the exact location of your program.
This would help to resolve your problem.
Best, Sergiy Radyakin
On Thu, Dec 2, 2010 at 11:27 AM, Cecilia Ann <firstname.lastname@example.org> wrote:
> Austin's comment is meant to be verbal attack. I do not think your behavior is in a polite way! I am trying to figure out the reason.Even if I say "does not work",it hurts you nothing.
> Besides, your explanation is of no use at all!
>> Date: Thu, 2 Dec 2010 10:38:53 -0500
>> Subject: Re: st: .ado and .plugin
>> From: email@example.com
>> To: firstname.lastname@example.org
>> Cecilia Ann :
>> Saying merely that something "does not work" is of no use. Instead
>> tell us what you have done to diagnose the problem, what you typed and
>> what Stata replied. Start by defining a very simple program and
>> making sure you understand how and where the files should be written:
>> file open t using ok.ado, write
>> file write t "prog ok" _n "di c(alpha)" _n "end" _n
>> file close t
>> type ok.ado
>> which ok
>> The -type- command can be a useful diagnostic tool if you have saved a
>> file in a non-text format, and -which- can tell you if you have saved
>> a file in an inaccessible location.
>> On Thu, Dec 2, 2010 at 10:26 AM, Cecilia Ann wrote:
>> > yes, the ado file defines the programm and the program name and ado file name are same.
>> > I put them in the ado directory.
>> > But it still does not work.
>> > ----------------------------------------
>> >> Date: Thu, 2 Dec 2010 09:52:27 -0500
>> >> To: email@example.com
>> >> From: firstname.lastname@example.org
>> >> Subject: Re: st: .ado and .plugin
>> >> At 09:38 AM 12/2/2010, Cecilia Ann wrote:
>> >> >I write some new program in .ado and .plugin files. I want to use
>> >> >them to do analysis and plot graphs. I put them together in stata11
>> >> >ado file. But when I type in new command in stata, there is error
>> >> >reminder. Stata says the command is unrecognized.
>> >> >
>> >> >Could you please tell me how to generate new command based on these
>> >> >ado files and plugin? How to make these new program files work in STATA11?
>> >> I'm not acquainted with plugins, but for ados,...
>> >> 1, does the ado file define the program (-program def...-)?
>> >> 2, is the defined program the same name as the file (e.g., file
>> >> myprogam.ado defines myprogram)?
>> >> 3, is the ado file located in either the current directory or your
>> >> ado directory (or appropriate subdirectory)?
>> >> HTH
>> >> --David
>> * 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/
* For searches and help try: