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

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
    User: "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")