Adding scratchpad of r functions