mean and the standard deviation

what function returns the mean and the standard deviation together

a function of your own composition...

myfunction <- function(x){
  c(mean=mean(x),
       sd=sd(x))
}
myfunction(runif(10))