csv - R removes spaces in read.table -
i came across surprising behavior today doesn't seem right me. have csv file several columns, numeric , text. 1 of text columns contains spaces between words. when read file r using read.csv (or more read.table), removes spaces. not talking leading or trailing whitespace, spaces inside string.
i have looked through docs , can find option turn off behavior. surely there must way tell r read data , not remove these spaces. or there?
Comments
Post a Comment