Fixed project errors

Missing R no more!