Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

R Maxing CPU in Batch Macro

stevehughes
7 - Meteor

Hi Folks,

 

I'm using the standard optimisation tool inside a batch macro. I have a list of sales territories containing stores which require time optimisation. I pass one territory through at a time. All is working well. However, it kept getting stuck on the 9th territory with the usual helpful R macro. 

What is happening is at each iteration, R seems to be firing up another instance, and at iteration 9 the CPU was 100% maxed out.

 

Is there anything you know of I can do solve this? I'm guessing I need to put something inside the macro, just before the output, to shut down the R instance?

 

Thanks

 

Steve

 

1 REPLY 1
miteshnarottam
Alteryx
Alteryx

Hi Steve

Thanks for reaching out, do you have a copy of the workflow by any chance

Labels
Top Solution Authors