Hi all,
I've been struggling with the following problem. When I use the sysdir command to get the system directories I get the following:
In particular, this interests me because I've installed the ceq package from SSC in Stata 15.1 and it was stored in PLUS directory and because I've been working on modifying some of the ado files the package contains and I've been storing the modified ado files in the PERSONAL directory.
Now, I'm currently working with the ceqppp.do file and I can see it stored in the PERSONAL directory when I look for it in my computer but when I use the -which- command or the -findfile- command, neither of them finds the location. More specifically, I get the following output:
or
where ceqppp2.ado is the name of the modified version.
The weird thing is that even though Stata doesn't seem to find a location, it does run the ado file. So it must find somewhere/somehow.
Also, another weird thing is that when I use both commands to find the location of any other ado files, it works perfectly fine (both for ados saved in PLUS and PERSONAL directories).
Could it be a problem with the ado file?
Alternatively, is it possible to tell Stata which is the directory of the ado?
Thanks!
I've been struggling with the following problem. When I use the sysdir command to get the system directories I get the following:
sysdir
STATA: C:\Users\cater\Desktop\Stata15\
BASE: C:\Users\cater\Desktop\Stata15\ado\base\
SITE: C:\Users\cater\Desktop\Stata15\ado\site\
PLUS: c:\ado\plus\
PERSONAL: c:\ado\personal\
OLDPLACE: c:\ado\
STATA: C:\Users\cater\Desktop\Stata15\
BASE: C:\Users\cater\Desktop\Stata15\ado\base\
SITE: C:\Users\cater\Desktop\Stata15\ado\site\
PLUS: c:\ado\plus\
PERSONAL: c:\ado\personal\
OLDPLACE: c:\ado\
Now, I'm currently working with the ceqppp.do file and I can see it stored in the PERSONAL directory when I look for it in my computer but when I use the -which- command or the -findfile- command, neither of them finds the location. More specifically, I get the following output:
which ceqppp2
.\ceqppp2.ado
*! v1.0 22nov2015
.\ceqppp2.ado
*! v1.0 22nov2015
findfile ceqppp2.ado
./ceqppp2.ado
./ceqppp2.ado
The weird thing is that even though Stata doesn't seem to find a location, it does run the ado file. So it must find somewhere/somehow.
Also, another weird thing is that when I use both commands to find the location of any other ado files, it works perfectly fine (both for ados saved in PLUS and PERSONAL directories).
Could it be a problem with the ado file?
Alternatively, is it possible to tell Stata which is the directory of the ado?
Thanks!
Comment