What are you talking about? Of course it was written in lower-level, compiled languages. Is it any different than Python? Javascript? Perl?
As for the "easy iterop with other languages": [1]
So, how is R different from Python?
Also, it's not true that R wasn't designed for writing software. Even a critical "pamphlet" by Pat Burns [2] states otherwise. For writing statistical software, yes.