Is it possible to use currying in R?
R
One possibility is to have special paste functions (it can be considered as a follow up to here), e.g. (in
paste
The standard place for functional programming in R is now the functional library, this library substitutes the ROxigen library that is discussed here :
functional
ROxigen
library(functional) newfunc <- Curry(oldfunc,x=5)