. ssc install outreg2
checking outreg2 consistency and verifying not already installed...
installing into c:\ado\plus\...
could not rename c:\ado\plus\next.trk to c:\ado\plus\stata.trk
could not rename c:\ado\plus\backup.trk to c:\ado\plus\stata.trk
r(699);
为什么我要安装outreg2安装不了,提示是这样的~谁能帮我看看啊啊啊~~~拜托啦~~~
This error occurs when someone else installed additional commands for Stata on this PC before. The reason is simply that Windows allows only the “owner” and administrators to change a file. To keep track of installed commands, Stata has to changesome files. If you were not the first person to install additional commands (or update) on the PC you are using, these tracking fileswill belong to someone else and you cannot change them.
The method to solve the renaming problem is to change the path where you install updates and additional commands. Foradditional commands this is the “Plus” path. You can check the current path with the sysdir command and change it by typing
sysdir set PLUS "H:\mypath"
sysdir
STATA: \\st-server5\stata10$\
UPDATES: \\st-server5\stata10$\ado\updates\
BASE: \\st-server5\stata10$\ado\base\
SITE: \\st-server5\stata10$\ado\site\
PLUS: c:\ado\plus\
PERSONAL: c:\ado\personal\
OLDPLACE: c:\ado\.
sysdir set PLUS "H:\ECStata".
sysdirSTATA: \\st-server5\stata10$\
UPDATES: \\st-server5\stata10$\ado\updates\
BASE: \\st-server5\stata10$\ado\base\
SITE: \\st-server5\stata10$\ado\site\
PLUS: H:\ECStata\
PERSONAL: c:\ado\personal\
OLDPLACE: c:\ado\