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

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -