add R source file