RStats particular key combination in Karabiner
The following snippet will work:

&lt;item&gt;
&lt;name&gt;Double press Backquote to %&gt;% in RStats&lt;/name&gt;
&lt;identifier&gt;backquote2%&gt;%&lt;/identifier&gt;
&lt;only&gt;RSTATS&lt;/only&gt;
  &lt;autogen&gt;
  __DoublePressModifier__
  KeyCode::BACKQUOTE,
  KeyCode::BACKQUOTE,
  KeyCode::DELETE, KeyCode::DELETE, KeyCode::KEY_5, ModifierFlag::SHIFT_L, KeyCode::DOT, ModifierFlag::SHIFT_L, KeyCode::KEY_5, ModifierFlag::SHIFT_L
  &lt;/autogen&gt;
&lt;/item&gt;


You have to add RStats' app bundle identifier - available in Karabiner's Event Viewer > Apps - to /Applications/Karabiner.app/Contents/Resources/appdef.xml.

A single backquote gives a backquote, two backquotes entered fast enough %&gt;%. I think a more elegant version exists - I haven't found it yet though.