Adding R dependency