The default behavior for me is for 'end' to be indented incorrectly after pressing enter. However, pressing the tab key while anywhere on that line will correct the indentation. In fact, pressing tab on any line will correct the indentation. I found it to be very handy after I got used to it.
Does it work that way for you? (This is using ESS on emacs24 on Ubuntu 12.04.)
