How to add space on selectInput list

I was trying to list using selectInput from a file as like this

data4<-read.delim("data/data4.txt",sep = ",",header = T)

selectInput("show_vars5", 'YYYYY', names(data4), multiple=TRUE, selectize=TRUE,selected = 'xxx')

But list is showing with dot instead of space. Example if I have "cat dog" in data4, the selectInput showing as like this "cat.dog"
How to change it ?

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.