That line you point in essd-r.el out is absolutely necessary for R in an ESS buffer. Unix coding does not work with Rterm. I remember that when I put it there, my intent was to limit it to the *R* buffer. Did it leak? Rich