algorithmsRcool