Update core.R

spelling
Merge pull request #32 from tcarnus/patch-1

Update core.R