Hello,
The scatterplot tools that are a part of my workflow are not working. They throw out a R.exe exit code error. To see if something was wrong with my data, I tried to check the official Alteryx scatterplot example. However, even this example isn’t working and giving the same error upon running the workflow. So, there seems to be nothing wrong with my data as the offiical Alteryx example also isn't working.
I found some more information on this error in the Alteryx Community, and it seems to be experienced by quite a few people. The experts are saying it’s a fake error and can be resolved by ending the R-code with a gc() function. However, I couldn't find appropriate steps to take to go ahead with it.
knowledge.alteryx.com/index/s/article/Error-The-R-exe-exit-code-n-indicated-an-error
community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/R-tool-Fake-Errors/td-p/25163
Could someone give step-by-step instructions on how to add a gc() function to the R-code for the Scatterplot tool? I found this part extremely complicated and didn't know how to go about it.
FYI - I use Alteryx on my Mac with Parallels since the Designer cloud platform doesn't have any Data investigation tools yet.
Alteryx version: Admin 2022.1, Predictive tool package for the same version has been installed.
@caltang But, it's a personal machine, and I am the admin. I should have access to it, right? Do you recommend uninstalling the Admin version and installing the Non-admin Alteryx version to avoid this issue. Will I be able to save the changes to the .yxmc file if I have the non-Admin version on my personal machine??
I was able to save no issue, I think that's worth a try!
Okay, I will try and let you know.
@caltang I could save it now. My Alteryx folder was read only. So, it wasn't allowing me to make any changes. I added the line 'gc()' as the last line to the Scatterplot macro and saved the .yxmc file. I then ran the Scatterplot example in the main workflow.
Same error. So, the issue is not getting resolved by putting gc() in the R tool as the last line.
Any other suggestions?
@caltang I am also getting this new error now after adding the gc() line as the last line in the R tool.
So, there is an issue with the gc() line. It is not correct.
Hmm… odd. In the mean time, can you remove the gc() line and save again, then click Run & see?
Otherwise there’s this idea: https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Ideas/Revisit-R-tools-fake-errors/idi-p/91...
I’ll also call in @TheOC as he is more familiar on this than I am. Will keep you posted
Yes, I removed the gc() line and saved it. I don't know if the plain vanilla gc() line is good enough or I need to have some additional code in there. It's the same issue even after saving again without that line.
Thanks for calling in theOC. Hopefully there is a resolution. I also emailed Alteryx support.
Hi @hdesai7 - just following up with you. Has anyone from Alteryx Support reached out to you?
Hi @caltang , yes, I am working with Alteryx support. Hopefully, they can come up with a solution to the problem.
User | Count |
---|---|
18 | |
14 | |
13 | |
9 | |
8 |