r-programming lecture notes