# NOT RUN {
x <- "12.3, 15.1, 8.7,10.3, # this is a vector of four numbers"
y <- "21.3 # 22.3 # 8.7 # 10.3 # here are another four numbers"
getvector(x) # uses default separator
getvector(y,sep="#")
# }
Run the code above in your browser using DataLab