🎉 🎉 RAPIDMINER 9.10 IS OUT!!! 🎉🎉

Download the latest version helping analytics teams accelerate time-to-value for streaming and IIOT use cases.


"Execute Script (R) output data importing bug?"

tennenrishintennenrishin Member Posts: 177  Maven
edited June 2019 in Help
The process
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<process version="5.3.008">
  <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="76" name="Execute Script (R)" width="90" x="179" y="120">
        <parameter key="script" value="&#10;output &lt;- data.frame(att1=c(NA,NA))&#10;&#10;print(names(output))"/>
        <enumeration key="inputs"/>
        <list key="results">
          <parameter key="output" value="Data Table"/>
      <connect from_op="Execute Script (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"/>
results in the error: "In order to import an R Data Frame as example set the data frame must provide attribute names."
even though the (only) attribute is named. This only seems to happen if all data in some attribute is NA.
Sign In or Register to comment.