I get the same error when I try to execute remote shell code, so it's not R related.
I also tried to start a ssh session using "M-x ssh" and used the source block
#+BEGIN_SRC R :exports both :session *ssh xxx*
on the server it executes the command but it can not write the results:
> Warning message:
In file.rename(tfile, transfer.file) :
cannot rename file '/tmp/RtmpsirjGl/file51c8f6ce4ec' to '/var/folders/ny/6kbb36310wz2kww8y8ctry600000gn/T/babel-46345zSH/R-46345a4N', reason 'No such file or directory'
I am using emacs 24.3 and Org-mode version 8.0.7 (release_8.0.7-384-g6fdc23)
I would be helpful for any suggestions how I could solve this problem.
thanks in advance