简体   繁体   中英

R crashes when trying to save list object ~1gb in size

I have a list object that includes many .wav files. Collectively, the .wav files are ~1gb in size. I've been trying to save the list object in a .Rdata file, like this:

save(my_list_of_wavs, file = 'wavs.Rdata')

After running this function, R does not respond and I need to force R to quit. Is there any other function or workaround I can use to save the .Rdata file?

I agree with @IShouldBuyABoat, you might need to wait more.
To make saving faster you can turn off compression:

save(my_list_of_wavs, file = 'wavs.Rdata', compress=FALSE)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM