selectOutput feature

Please post your code in the form of a MCVE.

More info here: