I am brand new to Stata, though I regularly use R. I am on a Mac.
I am trying to set my working directory to a folder on my desktop using cmd+shift+j. The console will repeat "/Users/brandonmorris/Desktop/WD".
However, when I try to execute a .do file from that working directory, I get the error r(601).
Double checking the working directory using the command "cd" results in the console telling me that the directory is "/Users/brandonmorris".
Why does my working directory keep reverting back to "/Users/brandonmorris"? Is there a step here I'm missing? I've tried everything I can find on this forum. Thank you in advance for the help.
-Brandon
Related Posts with Working Directory Keeps Changing by Itself
Why Stata doesn't recognize empty valuesHi, I have recently created a new variable mothergrad1 and there are empty values when I used the f…
Sum Variable in columsHello i have id Year temp "seq" 1 2001 . 0 1 2002 1 1 1 2003 1 2 1 2004 . 0 2 2001…
Counting Instance of a variable and returning averageI am a student and new to Stata. Any help is appreciated. I have a data set with age and weight. I …
Why the local value in a loop changes after use another data-set ?I have two datasets. The first one contains the following data. The data name is Forloop.dta. Code:…
Remove accents on a string variable in stataDear everyone, I would like to know if someone knows a STATA code that I can use to remove accents …
Subscribe to:
Post Comments (Atom)
0 Response to Working Directory Keeps Changing by Itself
Post a Comment