The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
R Extension Execute R Memory Buffered File
Charlotte2706
Member Posts: 2 Learner I
in Help
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)
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 ))
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 ))
0
Best Answer
-
yyhuang Administrator, Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 364 RM Data ScientistHi @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!
YY1
Answers