Bugfix R processing