Fixed incorrect import
Merge pull request #1 from konapun/master

Fixed R errors