remove R directory