Interrupted saveRDS in RStudio leaves a truncated output file with no rollback
When a long-running R session in RStudio is interrupted — for example the R process is killed or the session crashes partway through a large saveRDS or write.csv call — a partially written output file can remain on disk. My understanding is that the RStudio IDE provides no transactional or idempotent write semantics for user code, and no automatic rollback o