Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • " numlabel _all, add" sometimes return "mismatched quotes"

    Hi,

    Sometimes, when I typed " numlabel _all, add", stata would say " mismatched quotes" (even the option "force" was added would not help). Are there any solution?

    Thanks a lot!

    Best,
    Tianzhu
    Last edited by Tianzhu Nie; 26 Feb 2016, 20:21.

  • #2
    It is not obvious what is going on. Can you post an example data set that illustrates this problem?

    Comment


    • #3
      You can break numlabel by strating a label with the single left quote character.

      Code:
      label define foo 42 "`single left quote"
      label list foo
      capture noisily numlabel foo , add
      label drop foo
      The single left quote causes problems in other places as well, .e.g. it will breaks levelsof when part of a string variable value.

      This could probably be fixed but until then the single left quote is best avoided.

      Best
      Daniel
      Last edited by daniel klein; 27 Feb 2016, 06:26.

      Comment


      • #4
        Thanks a lot! Clyde and Daniel!

        Comment

        Working...
        X