R commands to teach a basic statistic course