[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Trouble evaluating R source code blocks with C-c C-c
From: |
Charles C. Berry |
Subject: |
Re: [O] Trouble evaluating R source code blocks with C-c C-c |
Date: |
Sun, 29 May 2016 10:58:37 -0700 |
User-agent: |
Alpine 2.20 (OSX 67 2015-01-07) |
On Sun, 29 May 2016, Vikas Rawal wrote:
And this time it has this additional line:
run-hook-with-args-until-success(org-babel-execute-safely-maybe)
Actually, I saw that line in your previous posting.
But this may help:
------------------
sit-for(0.25)
org-babel-comint-eval-invisibly-and-wait-for-file("type2"
[rest deleted]
`sit-for' is in this loop:
`(while (not (file-exists-p file)) (sit-for (or period 0.25)))'
which suggests that the file to which the results should be written is not
being created or there is an issue with `sit-for'.
Does anyone know why `sit-for' is used here rather than `sleep-for'?
I ask because I see that `sit-for' because it seems to me that `sleep-for'
would be enough and `sit-for' has inline comments that suggest some
unresolved issues.
Vikas, can you edit the `sit-for' to `sleep-for' in
`org-babel-comint-eval-invisibly-and-wait-for-file'
and `eval-defun' the result and see if that has any effect?
Chuck
- [O] Trouble evaluating R source code blocks with C-c C-c, Vikas Rawal, 2016/05/26
- Re: [O] Trouble evaluating R source code blocks with C-c C-c, John Hendy, 2016/05/26
- Re: [O] Trouble evaluating R source code blocks with C-c C-c, Vikas Rawal, 2016/05/28
- Re: [O] Trouble evaluating R source code blocks with C-c C-c, William Denton, 2016/05/28
- Re: [O] Trouble evaluating R source code blocks with C-c C-c, Charles C. Berry, 2016/05/28
- Re: [O] Trouble evaluating R source code blocks with C-c C-c, Charles C. Berry, 2016/05/28
- Re: [O] Trouble evaluating R source code blocks with C-c C-c, Vikas Rawal, 2016/05/29
- Re: [O] Trouble evaluating R source code blocks with C-c C-c, Vikas Rawal, 2016/05/29
- Re: [O] Trouble evaluating R source code blocks with C-c C-c,
Charles C. Berry <=
- Re: [O] Trouble evaluating R source code blocks with C-c C-c, Vikas Rawal, 2016/05/29
- Re: [O] Trouble evaluating R source code blocks with C-c C-c, Charles C. Berry, 2016/05/29
- Re: [O] Trouble evaluating R source code blocks with C-c C-c, Vikas Rawal, 2016/05/30
- Re: [O] Trouble evaluating R source code blocks with C-c C-c, Charles C. Berry, 2016/05/30
- Re: [O] Trouble evaluating R source code blocks with C-c C-c, Vikas Rawal, 2016/05/28