R def