Sharpie / RTikZDevice

A R package for producing graphics output as PGF/TikZ code for use in TeX documents.
32 stars 36 forks source link

Protect calls to filehash from user interrupts #55

Closed Sharpie closed 12 years ago

Sharpie commented 12 years ago

If a user is unlucky enough to interrupt R, such as by pressing CTRL-C, while Filehash is writing metrics into a dictionary, they have to clean up stray lockfiles and possibly deal with a corrupted dictionary file.

This could be easy to solve, see the following thread on R-devel:

http://r.789695.n4.nabble.com/Ignore-user-interrupts-td4321252.html

If the solution proposed there does not work, there is probably nothing we can do.