连老师,您好!
我最近重听stata初级班的课程,在第3讲里面,仿照您的profile.do文档,我做了如下的。。。但是应用的时候却报出错。麻烦您帮我看看,是错在了哪里呢?非常感谢!
我的profile.do文档如下
set type double
set memory 50m
set matsize 2000
set more off, perma
adopath +'D:\stata10\ado\personal'
adopath +'D:\stata10\ado\personal\_Myado'
local fn = subinstr('c(current_time)'',':','',2)
log using d:\stata10\do\s'fn'.log,text replace
cmdlog using d:\stata10\do\c'fn'.log,replace
sysdir set PLUS 'D:\stata10\ado\plus'
sysdir set OLDPLACE 'D:\ado'
sysdir set PERSONAL 'D:\stata10\ado\personal'
cd d:\stata10\ado\personal
stata报错的结果如下
adopath +'D:\stata10\ado\personal'
[1] (UPDATES) "C:\stata\ado\updates/"
[2] (BASE) "C:\stata\ado\base/"
[3] (SITE) "C:\stata\ado\site/"
[4] "."
[5] (PERSONAL) "C:\stata/ado\personal/"
[6] (PLUS) "C:\stata/ado\plus/"
[7] (OLDPLACE) "C:\stata/ado/"
type mismatch
r(109);
非常非常感谢!