[R] function for remove white space

José Luis Aguilar josestadistico at gmail.com
Wed Feb 22 00:51:19 CET 2017


Hi all,

i have a dataframe with 34 columns and 1534 observations.

In some columns I have strings with spaces, i want remove the space.
Is there a function that removes whitespace from the entire dataframe?
I use gsub but I would need some function to automate this.

Thank you very much in advance,

	[[alternative HTML version deleted]]



More information about the R-help mailing list