全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 统计软件培训班VIP答疑区
4958 4
2010-06-08
初级教程有赠送stata11,我直接点开exe文件使用,但一遇到系统中没有的命令,我用findit来找相关文件包下载,但每次都无法正常下载,提示的错误信息是:checking dm88_1 consistency and verifying not already installed...
cannot write in directory D:\stata11\ado\plus\r


这是怎么回事呢? 我用stata10,也是下载后直接点开exe文件开启stata10,然后findit寻找命令并下载文件包等一系列程序都进行得很好,为什么stata11不行呢?是不是我应该设置什么东西? 请老师指教,感谢~
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2010-6-9 08:23:05
请在command窗口输入 sysdir 命令,把结果列出来。

我在plus文件夹中已经下载了很多命令,有可能与你想要下载的插件存在版本差异。
因此,如果是采用 ssc install 命令下载,一定要增加 replace 选项,如
ssc install xtbalance, replace

如果要采用 findit 查找,并根据弹出页面提示进行下载,则可能出现如下情况。
findit xtivreg2

--------------------------------------------------------------------------------------
package installation
--------------------------------------------------------------------------------------

package name:  xtivreg2.pkg
        from:  http://fmwww.bc.edu/RePEc/bocode/x/

checking xtivreg2 consistency and verifying not already installed...

the following files already exist and are different:
    D:\stata11\ado\plus\x\xtivreg2.ado
    D:\stata11\ado\plus\x\xtivreg2.hlp


no files installed or copied

Possible things to do:


    1.  Forget it
        (best choice if any of the above files were written by you and just
        happen to have the same name or you do not want the originals changed)

    2.  Look for an already-installed package of the same name
        (which you might then choose to uninstall)

    3.  Search installed packages for the duplicate file(s) by clicking
        on the file names above

    4.  Force installation replacing already-installed files
        (if this is an update, this would be a safe choice; you will end
        up with the original and the update apparently installed, but it
        doesn't matter; you can even uninstall the original later)

(no action taken)

r(602);

此时,你要选择第四种情况,强制安装,以便替换 plus 中的旧版本。
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2010-7-2 16:06:15
连老师,您好!
以下是我sysdir的内容,麻烦您帮我查看一下,谢谢!为什么有的在C盘,有的在D盘呢?我从来没有用D盘。

sysdir
   STATA:  C:\Thesis\stata11\
UPDATES:  C:\Thesis\stata11\ado\updates\
    BASE:  C:\Thesis\stata11\ado\base\
    SITE:  C:\Thesis\stata11\ado\site\
    PLUS:  D:\stata11\ado\plus\
PERSONAL:  D:\stata11\ado\personal\
OLDPLACE:  D:\stata11\ado\myado\







2# arlionn
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2010-7-2 17:27:05
老师,我把stata11改到d盘下就好了,呵呵,很简单的问题,感谢老师教我sysdir!

3# yellowriver
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2010-7-2 21:22:06
这个命令在stata初级2010版第二个视频文件中有详细介绍,你可以再好好看看。
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群