R Programming is used for analyzing data as well as for the prediction of data. Using data models are made to further do analytical analysis. Models once made are then further predicted  using the function predict(). The article further explains the method of prediction using an example. Read more at: 

http://www.dummies.com/programming/r/how-to-predict-new-data-values-with-r/