Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Scatterplot tool - R.exe exit code indicated an error

hdesai7
8 - Asteroid

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. 

 

Screenshot 2023-09-22 at 9.53.45 PM.png

 

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.

 

18 REPLIES 18
hdesai7
8 - Asteroid

@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??

 

Screenshot 2023-09-23 at 2.33.58 AM.png

caltang
17 - Castor
17 - Castor

I was able to save no issue, I think that's worth a try! 

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
hdesai7
8 - Asteroid

Okay, I will try and let you know.

hdesai7
8 - Asteroid

@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?

hdesai7
8 - Asteroid

@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.

 

Screenshot 2023-09-23 at 3.18.23 AM.png

caltang
17 - Castor
17 - Castor

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

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
hdesai7
8 - Asteroid

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.

caltang
17 - Castor
17 - Castor

Hi @hdesai7 - just following up with you. Has anyone from Alteryx Support reached out to you? 

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
hdesai7
8 - Asteroid

Hi @caltang , yes, I am working with Alteryx support. Hopefully, they can come up with a solution to the problem.

Labels