oneway_to_r