In R,
grep('\d','1')
results in
Error: '\d' is an unrecognized escape in character string starting "\d"
(because it should have been '\\d')
But in RM
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<process version="5.3.008">
<context>
<input/>
<output/>
<macros/>
</context>
<operator activated="true" class="process" compatibility="5.3.008" expanded="true" name="Process">
<process expanded="true">
<operator activated="true" class="r:execute_script_r" compatibility="5.3.000" expanded="true" height="60" name="pushChart" width="90" x="313" y="75">
<parameter key="script" value="grep('\d','1')"/>
<enumeration key="inputs"/>
<list key="results"/>
</operator>
<portSpacing port="source_input 1" spacing="0"/>
<portSpacing port="sink_result 1" spacing="0"/>
</process>
</operator>
</process>
causes an abrupt termination of RM, without any prompts or messages.