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

Memory Buffered File / Returning summary of a linear model from R-Script to RapidMiner

MPB_MPB_ Member Posts: 45 Guru
Hi there,

I am trying to load / read the results of a R-Script in Rapidminer.

As a result of the code:


lm_mod_dyn <- lm(UNITS ~ PR ,data = data)

summary (lm_mod_dyn) 

RapidMiner gives back 
Memory buffered file

In this post it is said, that it is important to convert the results of a script to a dataframe, so I changed the script to:


{


lm_mod_dyn <- lm(UNITS ~ PR ,data = data)


NewData <- data.frame(summary (lm_mod_dyn) )

return(NewData)

}


Now I get a new Error :



Is there a solution for that?


Best regards and have a nice weekend


Best Answer

Answers

  • MPB_MPB_ Member Posts: 45 Guru
    Hi @yyhuang

    thank you so much for saving me (again).

    Have a great week :)
Sign In or Register to comment.