結果 : r function return two variables