Various R programming tools for model fitting