Hi rubini,
Use accumulate or reduce function to find the running total.
Accumulate will show step by step running total whereas reduce shows final su value and no intermediate values.
For calculating running total, try as below.
library(purrr)
dataframe$col >%> accumulate(`+`)
dataframe$col %>% reduce(`+`)