Not sure if you ever figured this out, but I was just directed to this post.
You need to look for a file (it may not be in your project directory) that contains "___LOCK" in its file name and delete it. filehash creates this to prevent multiple writes to the same file at the same time and somehow it did not get removed correctly. tikzDevice uses the filehash package to cache font metrics and it must have gotten interrupted. -Cameron -- View this message in context: http://r.789695.n4.nabble.com/debug-R-device-plot-tp3403638p3545415.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.