Announcement

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

  • Error opening a tex file on Stata

    Dear all,

    I am trying to use a .tex file and for some reason the command does not work. The message "file could not be opened" appears. Does someone happen to know why that might be?

    My code is:

    Code:
    file open Amazonas using Amazonas.tex, write replace
    Regards in advance.

  • #2
    I don't think the extension could be a problem.

    Comment


    • #3
      The file will be opened in your current working directory, so type
      Code:
      pwd
      into Stata's Command window to see what your current working directory is. If it's not in your home directory, then its possible you're trying to write into a directory in which you do not have write permission.

      Comment

      Working...
      X