Platt function checks for NaN containing inside Light or ETR arrays, before passing inside R.
In pure R, while reading file as `read.table`, it ignores NaN values,
but while passing through rpy.r.assign gets an error inside R execution.