This document presents an example of using vectors in R. It initializes a vector called 'vec' and assigns values to its indices. It also calculates the running total or accumulation of values in 'vec' and stores it in the 'acu' vector. Each line adds another value to 'vec' and updates 'acu' accordingly. It concludes by calculating the average of all the numbers as 30.