[R] Fixed Major Bug Causing White Screen