[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
Help with time-trend analysisI have a database of the volume of a certain type of test across time. I want to show how the trend …
Exporting IRR tableHello guys, I have a question related to exporting IRR table. The problem I have is that when I expo…
Runby corr, error: store_data(): 3900 unable to allocate real <tmp>Hello, I am working on a project where I need to runby the corr program and return the correlation …
did_multiplegt cannot estimate treatment effect; prompt does not applyHello everyone, I am using the did_multiplegt command in order to perform some analyses for my thes…
gsem with interaction termsMy co-author and I are using gsem for our empirical analysis, but we have problems with how to inter…
Subscribe to:
Post Comments (Atom)
0 Response to Tempfile invalid file specification
Post a Comment