install.packages('moments')

library(moments)

skewness(x)

kurtosis(x)