Dear Statalisters:
I've come across a problem I've not yet experienced before. I'm trying to reshape a (very) large file into wide format--it's got about 2 million observations and I'm reshaping wide for about 300 values across 80-some variables. I was able to do it on my desktop, but now I'm in "work-from-home" mode on my laptop thanks to the plague and I'm getting an error on my laptop.
Here's what my code looks like:
And here is the error:
Does anyone have a way around this? I saw previous posts here suggesting that I add the sleep command to try and slow things down, but it's not helping. It's just very strange; it worked on my desktop with Stata 15, and now I'm using Stata 16 on my laptop and it's giving me an error message I can't figure out. Does anyone have a fix for this?
Thank you for your time,
Jonathan
I've come across a problem I've not yet experienced before. I'm trying to reshape a (very) large file into wide format--it's got about 2 million observations and I'm reshaping wide for about 300 values across 80-some variables. I was able to do it on my desktop, but now I'm in "work-from-home" mode on my laptop thanks to the plague and I'm getting an error on my laptop.
Here's what my code looks like:
Code:
use pubid uid child_agemo_1_-child_agemo_80_ using /// "C:\Users\jonat\Documents\OneEventPaper\befsplit.dta", clear sleep 5000 reshape wide child_agemo_1_-child_agemo_80_, i(pubid) j(uid) sleep 5000
Code:
file C:\Users\jonat\AppData\Local\Temp\ST_1338_000002.tmp cannot be modified or erased; likely cause is read-only directory or file
Thank you for your time,
Jonathan
Comment