The purpose behind my project is for one R Tool to process any of the business data that is thrown at it, I've also designed it so that a teammate with no R experience can do the same task that I can. Unfortunately I need to tidy the data in R rather than before it arrives in the R Tool, but tidying the data doesn't take long at all and that isn't where the latency lies with my code. I know of ways in which I can optimise my code, like running parallel processes or using the data.table package (I hear it is much quicker than working with ame, but don't quote me on that one). My R code take 74 mins to run in RStudio and it is still running in Alteryx I even managed to move house during that time too. I developed my R code in RStudio, moved it across to the R Tool, made the required changes for it to work and then clicked run.
0 Comments
Leave a Reply. |