[R] Re moving white space help

Ramyathulasingam Ramya.Thulasingam at rndsystems.com
Tue Nov 24 22:18:53 CET 2009


Hi  there

I am trying to remove the white space and replace it with nothing but didnt
have any luck with that

x <- and fgh-

i can replace the comma using gsub
gsub("\\-","",x)
but i cant replace the white space with nothing. 

Ramya
-- 
View this message in context: http://old.nabble.com/Removing-white-space-help-tp26503431p26503431.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list