I unfortunately can confirm that org-babel-R-initiate-session contains the
lines you mentioned at exactly 15 lines down. Deleting ob-R.elc (which was of
the same date as ob-R.el) didn't affect anything as did reloading org
uncompiled (C-u C-c C-x !).
Henrik
Am 08.10.2014 um 03:21 schrieb Charles Berry:
Henrik Singmann <henrik.singmann <at> psychologie.uni-freiburg.de> writes:
Dear all,
Sorry to resurrect this thread but I still have the issue discussed here.
I get "Error: could not find
function ".ess.eval"" when inside an R code block with :session *R* but
not without :session *R*.
Please confirm that when you do
M-x find-function RET org-babel-R-initiate-session RET
and scroll down 15 lines:
M-1 M-5 <down>
you see something like this:
(ess-wait-for-process
(get-process (or ess-local-process-name
ess-current-process-name)))
If not, there is something broken in your setup.
If you do see that code, please do
C-x d <return>
and verify that ob-R.el is older than ob-R.elc. If it is not older delete
ob-R.elc and restart.
Let us know how it goes either way.
Chuck
--
Dr. Henrik Singmann
Albert-Ludwigs-Universität Freiburg, Germany
http://www.psychologie.uni-freiburg.de/Members/singmann