Apply with built in try. Uses compact, lapply and tryNULL

tryapply(list, fun, ...)

Arguments

list

list to apply function f on

...

further arguments to f

f

function