Some things done in R