adding r file