Hello,
I'm trying to append all the files in a folder together, and have the following code:
clear
local fnames: dir "$path\Data Input\Stata Sets" files "*.dta"
foreach file of local fnames {
append using "`file'", force
}
Unfortunately I keep getting an error that says r(601): Cannot find (filename) of the first filename in the folder. It was previously working, but has stopped working in the last couple times I've tried to run it.
Thanks, any help would be appreciated.
Related Posts with Appending Assistance
New to this - anova testI am very new to stata so bear with me.. I have conducted an experiment where we measure a hormone i…
How to list observations excluding one variable?Hi everyone, I am doing an assignment and I'm stuck at one point. I have to list the first 8 observ…
Help with xtabond2 and xtdpdsysDear Statalist, I already searched for this topic and found similar threads, but I still have probl…
generate four categories from two variablesDear all, This is a very annoying problem and the solution is most definitely very simple. I would…
Problem regarding how to create categories under categories.Hello, this is my question. Thank you. Array …
Subscribe to:
Post Comments (Atom)
0 Response to Appending Assistance
Post a Comment