Completely remove R dependency