Hi,
I am currently using Mac OS X stata, and I have some problems setting the main directory.
I am sharing the do files with my team and all the others use PC.
The global directory command is:
else if "`c(username)'"=="eddie"{
global maindir1 "/Users/Eddie/Desktop/Project/Data"
global maindir2 "/Users/Eddie/Desktop/Project/Data"
and later on I would like to use the data from this directory:
capture use "$maindir1/__.dta",clear
I have the problem using the main directory.
Thank you for the help!
Related Posts with Main directory Mac OS
Econometrics questions : Functional form choiceHi statalist, I try to estimate the effect of a monetary bonus on physicians’ activity. I would lik…
Replace missing values smartlyHi all, I am writing since I have a potentially simple task which however I am not able to figure o…
reg i.id i.year,vce(cl id) vs. xtreg i.year,fe rDear all, We know "reg i.id i.year,vce(cl id)" is the same as "xtreg i.year,fe r",but why are the re…
competing risk without covariatesI want to compare the risk of dying of a specific cancer versus "other causes" in a large sample. Co…
Extracting the column percentages from two tabDear Statalist, I need to calculate the difference between two percentages coming from two different…
Subscribe to:
Post Comments (Atom)
0 Response to Main directory Mac OS
Post a Comment