R language for computing for data homework