add R resources