Announcement

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

  • Series 0 not found error

    I'm encountering an incredibly mysterious error, and I was hoping anybody here would have some insight. Code like this has worked fine for me in the past and continues to work in other settings, but the problem has now developed on a particular server. Minimal example below:

    set obs 10

    gen x = _n
    gen y = _n +1
    gen cond = x<6

    graph twoway (line x y if cond==0) (line x y if cond==1)

    throws:
    "series 0 not found"

    You need to overlay two graphs, and those two graphs need to have different conditional statements in them. This persists even after restarting Stata and running 'clear all' and 'clear ado'. It's probably something about my account on that machine, but I don't know what more I can do to clear out the gunk.

  • #2
    Solved... by myself. I had long ago told Stata to direct temporary files to a specific directory on this server. I returned to the system many years later, and that directory was gone, which broke pretty much everything. Fortunately, one of the other things that broke threw a more helpful error message than this, and I was able to fix it.

    Comment

    Working...
    X