EY interview question

Explain about how do you use R language for specific case