You can obtain the sum, mean and median by calling the functions sum(), mean(), median(), respectively. You need to include na.rm=T to obtain the estimate when you have missing values in the data.
Standard deviation, variance and interquantile range
For the data dispersion, you can use the functions sd() (standard deviation), var() (variance) and IQR() (interquantile range). Remember to use na.rm=T.