code related to the R programming class