By reading some code today I have just discovered an alternative way to define a function: f <- \(x, y) x * y
Is that exactly the same as: f <- function(x,y) x * y ? Is there any benefit to the first or second way to define a function? Regards Martin [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.