Some parallelized utility R function for my self.