R code for information security analysis and action