Fix #638 - Segfault in /R