How to deal with non-working key on the keyboard?
As suggested in the comments and in this post, using Karabiner app should work with the following configuration of private.xml file (edit in Misc tab):

&lt;?xml version="1.0"?&gt;
&lt;root&gt;
  &lt;item&gt;
    &lt;name&gt;Use § to type R&lt;/name&gt;
    &lt;identifier&gt;private.replace_r_key&lt;/identifier&gt;
    &lt;autogen&gt;__KeyToKey__ KeyCode::DANISH_DOLLAR, KeyCode::R&lt;/autogen&gt;
  &lt;/item&gt;
&lt;/root&gt;


and enable newly created item after reloading the file in Change Key tab.

To find out the right key code, use EventViewer in Misc tab.