Intelligence analysis of data using the R language