R Maxing CPU in Batch Macro
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
stevehughes
7 - Meteor
‎06-25-2021
12:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
Labels:
- Labels:
- Macros
- Optimization
- R Tool
1 REPLY 1
miteshnarottam
Alteryx
‎07-06-2021
03:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi Steve
Thanks for reaching out, do you have a copy of the workflow by any chance