If A is an n x n correlation matrix then covariance matrix is
diag(s) %*% A %*% diag(s)
where 's' is the n-vector of standard deviations.
If you want to know more about the Data Science then do check out the following Data Science which will help you in understanding Data Science from scratch