R df miejsce w nazwie kolumny

names(x)<-str_replace_all(names(x), c(" " = "." , "," = "" ))
Exuberant Elk