fixed errors in R file

banana
Merge pull request #13 from SCS-hackers-group/bav

fixed errors in R file