Execute R Script_function not found

Oprick
Oprick New Altair Community Member
edited November 5 in Community Q&A
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

  • David_A
    David_A New Altair Community Member
    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
  • Oprick
    Oprick New Altair Community Member
    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