| Bill Allombert on Mon, 10 Apr 2023 19:59:01 +0200 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| Re: Factorial in parapply |
On Mon, Apr 10, 2023 at 07:45:58PM +0200, Jean-Luc ARNAUD wrote: > Hi all, > > Is there a way to use a factorial function in a parapply command? > > It seems like parapply(!,[10,100,1000]) does not work. You can do parapply(x->x!,[10,100,1000]) or if you really like, you can give a name to the factorial with alias(): alias(factorialint,"_!") \\ at the start of your file parapply(factorialint,[10,100,1000]) Cheers, Bill.