I am using the r tool to plot some data I need in a very specific way (why I am using r tool and not the graphing tool). I have the r tool running in a macro. My macro seems to be the bottle neck in slowing down my output (went from a few mins to over an hr).
Looking at my macro and watching it run it seems that the r tool has to load each and every time. Is there a better way to have r load so that the packages do not need to reload each time? Or does anyone have a resource that can show me how to process groups of data into plots in R and back out in those groups to an Alteryx workflow.
This takes 4-7 seconds each run.
Solved! Go to Solution.
Loop works great now. Just had to... print(p).
print(p) did the trick! Well done. I'm glad everything got worked out.
I was also able to create a list from my unique var in r and output it to one of the outputs for the r tool and line them back up with the graphs so that I can join them back with my workflow. BTW your loop took my 2500 graphs taking over 3 hrs down to 15 mins!!! THANKS!
User | Count |
---|---|
19 | |
15 | |
15 | |
9 | |
8 |