Setting check for R, when set to use it