Copying Rproj and index from Andriy