Hi Jeremie, Thanks for volunteering to maintain ob-R.el :)
I'm bumping this patch [0] to see if it could be merged into ob-R.el. It fixes some long-standing issues with prompt mangling for :session blocks with :results output. Elsewhere in the thread, Chuck had a suggestion [1] to allow :results value to be properly handled in remote sessions. It's not included in the patch, but worth adding separately IMO. It may be helpful reading the thread in full -- Chuck had several comments on ob-R that I found insightful, and may be useful for you to consider as maintainer. I'd highlight [2] in particular: > If you do decide to dig into solving this, please be sure that remote > sessions and graphical outputs are not broken. test-ob-R.el does not > cover those cases. In fact, it is pretty short, so there are probably > other things that could break without `make test' complaining. All the best, Jack [0] https://orgmode.org/list/87ft7t9wqk....@gmail.com/ [1] https://orgmode.org/list/1e0046a6-1fab-45b5-9b08-68fe1be98...@health.ucsd.edu/ [2] https://orgmode.org/list/352c7149-743f-4944-aca5-7a1242b5a...@health.ucsd.edu/