Standard error computations in R engine