[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] [patch] race condition in org-babel R
From: |
Christophe Rhodes |
Subject: |
[O] [patch] race condition in org-babel R |
Date: |
Fri, 20 May 2011 12:21:24 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Hi,
A substantial fraction of times when exporting my org-babel document
(with many R session code blocks), I get "code block produced no
value". I think this is because of a race condition between
waiting for the transfer.file to exist and actually populating it with
output; the scenario is: 1. write.table() creates its output file
2. emacs notices its existence, and reads it 3. write.table() gets round
to writing .Last.value to the file.
The attached patch has made exporting much more reliable for me.
0001-fix-race-condition-in-ob-R-write-object-command.patch
Description: Text Data
Best,
Christophe
- [O] [patch] race condition in org-babel R,
Christophe Rhodes <=