🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Where do the results of R-Scripts go? Configuration problem for RapidMiner Studio only?

MPB_User: "MPB_"
New Altair Community Member
Updated by Jocelyn
Hi there,

I am struggling with exporting results from the Execute R Script Operator.

Here is how the script and the process look like :



After the process is successfully done, I only get The result
Memory buffered file


However, there is no file written.


The RapidMiner log only says


INFO: No filename given for result file, using stdout for logging results!
Mar 04, 2020 10:36:58 AM com.rapidminer.Process execute
INFO: Process //Aggr/R_test starts
Mar 04, 2020 10:36:58 AM com.rapidminer.Process saveResults
INFO: Saving results.
Mar 04, 2020 10:36:58 AM com.rapidminer.Process execute
INFO: Process //Aggr/R_test finished successfully after 0 s




Since the code is running without any errors and with the expected results in R-Studio, I think it must be a configuration issue


What did I do wrong?


Sort by:
1 - 1 of 11
    YYHUser: "YYH"
    Altair Employee
    Accepted Answer
    Updated by YYH
    Hi @MPB_,
    It is easy to get the location of your output file. 
    Just add getwd() in your scripts
    Check your Log view, there should be a temp folder that store your sink file.
    Why?
    Because in your scripts, you used a relative location instead of specifying a physical location in your system. I would suggest using a complete file path like "C:\\Users\\MPB\Documents\\Routput\\outputsink.txt" for the output text file.
    sink("where_is_that_text.txt")