[previous code]
foreach q in ca cb cc cd ce {
preserve
gen var = "`q'"
tempfile ``q''
save ``q'', replace
restore
}
use `ca' // THIS RETURNS ERROR r(198) invalid file specification
foreach g in cb cc cd ce {
append using ``g''
}
tempfile alldc
save `alldc', replace
...
I do not see why I'm returning the error; previously in the code, I have saved tempfiles and then used another tempfile with " use `tempfile' " and it has worked fine. Why not on this occasion?
Related Posts with Tempfile invalid file specification
ImputationHey guys, I work with panel data and I have the following problem. I've dummy variables from 2 yea…
Spmatrix creating empty weighting matricesHi, I'm trying to do a very standard spatial analysis. The aim is to run ML and 2SLS estimations wi…
Interquartile rangeHello, Please can anyone advise how I generate the interquartile range? I have a data example for a…
prevent pagebreak in table putdocxHi I making summary tables in putdocx looping through 100+ cities. The problem is that pagebreaks oc…
Testing differences in abnormal returnsusing estudyHello, I am currently performing an event study. I have a Sample of 84 european banks with daily ret…
Subscribe to:
Post Comments (Atom)
0 Response to Tempfile invalid file specification
Post a Comment