R in ruby