Saving factor scores from factor analysis

Could you share some reproducible example ? I am not familiar with factor analysis.