stata中如何创建空白数据文件?主要用于循环合并,我的显示touch命令不可用怎么办?
命令是这样的
touch "CL.dta",replace
forval i=1(1)5{
import excel "$dir1/`i'.xlsx", sheet("Sheet1") firstrow case(lower) clear
append using "CL.dta",force
compress
save "CL.dta",replace
}
之前用windows版本电脑可以用,但现在用的MacBook,显示.
touch "CL.dta",replace
The touch command has been deprecated.
请问这怎么解决?


雷达卡




windows电脑中的stata可以用touch命令
京公网安备 11010802022788号







