Frederic, > > It looks like there is something wrong with comint-prompt-regexp in > > R buffers. It somehow does not match the prompt. > > I'm not sure it's the explanation either, since external (i.e., > non-session) evaluation works as expected. (Just remove the ":session > *R*" part of the header, and you'll see everything is okay.)
Ihor will know, but i *think* that without :session, there is no R "shell" running, so the ...-prompt-regexp isn't used. rather (do i know this? assume this?), an R script is prepared and executed. cheers, Greg