Hello, You can find here a patch to fix disk corruption. When your disk is full, the write function exit without error but the file is truncated. https://bugs.r-project.org/bugzilla/show_bug.cgi?id=17243 Sincerely, Jean-Sébastien Bevilacqua [[alternative HTML version deleted]]