R package for calculating sparse correlations