Transfering vectors of light and etr without NaN values to R environment