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: Search Notes


From   Nick Cox <njcoxstata@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Search Notes
Date   Wed, 31 Oct 2012 18:27:31 +0000

You've got the syntax backwards below. You type -note- or -notes-
first. If you really type -mpg note- it won't work (unless bizarrely
you have defined a program -mpg-).

We still need, minimally, an example of what you really typed, and
ideally something that we can test ourselves.

As the FAQ advises (see
http://www.stata.com/support/faqs/resources/statalist-faq/#stata )

"Say exactly what you typed and exactly what Stata typed (or did) in
response. N.B. exactly! If you can, reproduce the error with one of
Stata's provided datasets or a simple concocted dataset that you
include in your posting."

Nick

On Wed, Oct 31, 2012 at 6:03 PM, Pedro Nakashima
<nakashimapedrolist@gmail.com> wrote:
> Let's say we are using the example presented by -help notes-with an
> additional note:
>          . mpg note: is the 41 to mistake? Ask Bob.
>          . mpg note: what about the two missing values?
>          . mpg note: Pedro Nakashima
> When we looked for the last one..
>          . search notes Nakashima
> we can find it ...
>          mpg:
>            One. Pedro Nakashima
> But to another database (previously saved), if we
>          . anyvariable note: this is the first note
>          . anyvariable note: this is the second note
>          . anyvariable note: Pedro Nakashima
> and also
>          . search notes Nakashima
> the result is
>     not found
>
> there's nothing in either -help notes- or statalist posts that
> explains this kind of error..
>
> 2012/10/30 Nick Cox <njcoxstata@gmail.com>:
>> It is difficult to say what you are doing wrong. You need to show us
>> code in which you create a -note- and then can't find it. Did you
>> forget to -save- the dataset after creating a -note- and are looking
>> for it in a different session?
>>
>> Nick
>>
>> On Tue, Oct 30, 2012 at 11:49 PM, Pedro Nakashima
>> <nakashimapedrolist@gmail.com> wrote:
>>
>>> I'm using Stata 12.
>>>
>>> I'm looking for notes at my dataset with exactly the same syntax
>>> specified in the help for -notes- (-notes search-), but it always
>>> returns "not found" after the execution of the command .
>>>
>>> The strange thing is that when I write the same notes and then look
>>> for them in the sample dataset (auto.dta), the notes are found.
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index