"R console does not appear after loading the R extention and restarting"

gbortz27gbortz27 Member Posts: 22 Contributor II
edited June 2019 in Help
The R console does not appear after loading the R extention. , is there another extention , if not why does my console not appear? My r scripts work in the operator though the text file

I am using RM 6.4

Thanks 

Graham
Tagged:

Answers

  • JEdwardJEdward RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 578 Unicorn
    Graham,

    You've posted the same question in so many places I'm not sure where to answer you.
    Yes, scripts work through the Execute R operator (this is the new R extension way).  There is no longer the console embedded within RapidMiner as most people coding with R (or Python) already have their own consoles when they need it.  No point in duplicating the work.
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <process version="6.4.000">
      <context>
        <input/>
        <output/>
        <macros/>
      </context>
      <operator activated="true" class="process" compatibility="6.4.000" expanded="true" name="Process">
        <process expanded="true">
          <operator activated="true" class="r_scripting:execute_r" compatibility="6.4.000" expanded="true" height="76" name="Execute R" width="90" x="179" y="30">
            <parameter key="script" value="rm_main = function()&#10;{&#10;&#9;&#10;&#9;x &lt;- seq(from= -5, to= 5, length.out =1000)&#10;&#10;&#9;&#10;&#9;dn &lt;- dnorm(x)&#10;&#9;de &lt;- dexp(x)&#10;&#9;dc &lt;- dcauchy(x)&#10;&#9;dn3 &lt;- dnorm(x, sd=3)&#10;&#10;&#9;result &lt;- data.frame(&#10;&#9;&#9;id =x,&#10;&#9;&#9;StandardNormalDistribution = dn,&#10;&#9;&#9;NormalDistribution = dn3,&#10;&#9;&#9;ExponentialDistribution =de,&#10;&#9;&#9;CauchyDistribution= dc&#10;&#9;)&#10;&#9;return(result)&#10;  &#10;}&#10;"/>
          </operator>
          <connect from_op="Execute R" from_port="output 1" to_port="result 1"/>
          <portSpacing port="source_input 1" spacing="0"/>
          <portSpacing port="sink_result 1" spacing="0"/>
          <portSpacing port="sink_result 2" spacing="0"/>
        </process>
      </operator>
    </process>
Sign In or Register to comment.