Java Create String Array From Input Data Into R