Here is the code that supports the computation of the RRA indicator concerning a Region of Interest in the ROC space, as described in paper "Considerations on the Region of Interest in the ROC space" by Luigi Lavazza and Sandro Morasca The iRRA_package_python.zip archive contains the Python code implementing the iRRA functions, and the related documentation. The iRRA_package_R.zip archive contains the R package implementing the iRRA functions, and the related documentation. Both archives contain examples showing how to use the iRRA functions. Thanks to Gabriele Rotoloni for his decisive contribution to the implementation of the code.