adding R files and images