renamed result variable to avoid swig-R crash
Merge pull request #912 from karlnapf/master

fix swig-R clash