fix R parsing
Merge pull request #86 from teharrison/master

fix R parsing