R$^2$ec: Towards Large Recommender Models with Reasoning