adding r to pojects