Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.

R Extension Execute R Memory Buffered File

Charlotte2706Charlotte2706 Member Posts: 2 Learner I
Good morning community :)

I´m trying to solve the following problem:
I want to execute a R code and see the results. But it does'nt work and just shows me "Memory buffered file".
I already tried sink() and return(list(result)) as seen in another Question here.
This is the code I want to execute:
library(EMP)
    empChurn(data$churn, data$prediction)
    result <- empChurn(data$churn, data$prediction, alpha = 6,beta = 14, clv = 200, d = 10, f = 1)

and this the Log:
Jun 1, 2021 9:10:00 AM INFO: Loading required package: ROCR
Jun 1, 2021 9:10:01 AM INFO: Saving results.
Jun 1, 2021 9:10:01 AM INFO: Process //Local Repository/processes/R-Integration finished successfully after 1 s

Thank you so much for your help :)))

Best Answer

  • yyhuangyyhuang Administrator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 364 RM Data Scientist
    Solution Accepted
    Hi @Charlotte2706,

    Thanks for sharing the R scripts for empChurn. The result is an EMP object returned from the R library, which can only be consumed by R. Only the data frame from R will be returned as example set and re-used by down-stream RapidMiner operators in the workflow.

    Attached is the example process for your reference.

    HTH!

    YY

Answers

  • Charlotte2706Charlotte2706 Member Posts: 2 Learner I
    Good morning yyhuang :-) Thank you soooooo much for the helpful and quick answer! It worked. I'm really happy :-) Enjoy your day
Sign In or Register to comment.