Revert "Remove R and git references from setup"

This reverts commit 5a44374230e48967b9d311ba824c68a7ce1eb7dd.