When you define the new variable, convert results$name to character, not results. Also, use " " (a blank space) to split the words, not "" (no space). If you fix that one line, the code seems to work.
Change this:
new=strsplit(as.character(results),"")
to this:
new=strsplit(as.character(results$name)," ")
0
solved How to split the name for student mark list