Options

Execute R Script_function not found

OprickOprick Member Posts: 35 Contributor II
edited October 2019 in Help
I've been using Execute R operator to build forecasting models with no major issue at all.
However today I was trying to use quantregForest() of the package with the same name and keep receiving the same error message:
- could not find function \"quantregForest\""

I've tested the script in R and it runs with no problem.

Can you please shed some light on this.

**Note** Enclosed a mock dataset and process.

Many thanks,
Pedro


Tagged:

Answers

  • Options
    David_ADavid_A Administrator, Moderator, Employee, RMResearcher, Member Posts: 297 RM Research
    edited November 2019
    Hi @Oprick ,
    thanks for the very detailed description.
    Did you check if the quantregForest library could be loaded? For example by printing the result of the require() function. It can happen, that RapidMiner could not load or access the path where the library is stored (for example due to different user rights).
    Best,
    David
  • Options
    OprickOprick Member Posts: 35 Contributor II
    Hi @David_A,
    I believe you are right. The library is not loading. However I cannot figure why, because it is stored in the same folder as all other libraries that I work with no issue at all. Do you have any idea of why this happens?


    Many thanks for your help,
    Pedro
Sign In or Register to comment.