Machine Learning for R Code