You have several options - e.g. one mentioned by sgibb which relies on how R interprets function arguments, i.e. that myfun(y, x = x)
is the same as myfun(x, y)
.
I prefer creating anonymous functions since it's easier to understand what's happening:
sapply(iterables, function(iter) myfun(x, iter))