Here is a very quick example of forecasting sales by using R. This was originally a homework assignement for a job interview, but was a good forecasting example that I could share publicly.