R toolbox package