split string berdasarkan ruang di r

unlist(unique(strsplit("This is my test string.", " ")))
[1] "This"    "is"      "my"      "test"    "string."
Rocku0