Cross-Validation of R model failed

phivuphivu Member Posts: 34 Guru
edited November 2018 in Help

Hi RapidMiner,


I followed this tutorial ( to do cross validation of R Random Forest regression model but encountered an error as in the attached photo. However, the same R scripts work well for the single validation as in the attached process (Single-Validation.rmp). I also attached the cross validation process here. Do you have any idea?


Thanks a lot!


Best Regards,



Best Answer

  • gmeiergmeier Employee, Member Posts: 25 RM Engineering
    Solution Accepted

    Please move your operator "R Apply Model" down a bit. Then you can see that its second input port is not connected to the tes-port. After fixing the connection it should work.






  • Thomas_OttThomas_Ott RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 1,761 Unicorn

    The script error appears to be looking for the data. Check your R script for where the data is being loaded from. 

  • phivuphivu Member Posts: 34 Guru

    Thanks Gisa!

Sign In or Register to comment.