🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Best Practices for Using R Transforms

User: "Hugh_R_Heinsohn"
Altair Employee
Updated by Hugh_R_Heinsohn

In this tutorial you will learn how to organize your R-code used in Panopticon R-transforms in ways that facilitate code maintenance, enable code re-use, and improve performance of you transforms. Specifically, you will learn about the benefit of writing your R scripts as functions that can be saved as separate files and reused in multiple locations within your Panopticon workbooks. You will also learn about the advantages of developing and testing your R functions in RStudio, where you have access to R help documentation and full exception messages. Finally, you will learn how to configure Rserve to automatically load the R-code files containing your functions as part of the start-up process. Using this method, you avoid the overhead of reading the files with function definitions upon each call to R since the functions will already be loaded and available for all calls to Rserve.


Comments

No comments on this post.