TeXmacs has interfaces for many systems (https://twitter.com/gnu_texmacs/status/1382216780702175232) including R. Seems that currently R does not run, however I think a medium R user can understand and fix the problem. The interface code for R is written in R.