Announcement

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

  • stcurve after stcrreg produces: file __000005.dta could not be opened r(603)

    Hello and happy new year!
    I'm on Windows 10, Stata 16.1.

    stcrreg x1 x2 , compete(type_first_event==2)
    no problem here.Then I try:
    stcurve, cif
    or
    stcurve, cumhaz
    and after some seconds, I get:
    file __000005.dta could not be opened r(603)
    Sometimes the filename ends with a 6 instead of a 5.
    I tried both using the standard working directory and a specific one but the result is the same.
    Thank you for any help you can give me.

  • #2
    Find out where Stata wants to open temporary files. If memory serves me right, it will be listed if you type

    Code:
    creturn list
    My guess is that it is somewhere where you don’t have write permission.

    Comment

    Working...
    X