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

tryapply(list, fun, ...)

Arguments

list

list to apply function f on

fun

function

...

further arguments to f