R analysis here we go..