Slight modification of patch by Christophe Rhodes * lisp/ob-R.el (org-babel-R-write-object-command): Ensure that all data is written to the results file before Emacs notices that the file exists.