adding r files