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