Some basic but useful commands in R