data(thermo)
## string to character
s2c("hello world")
s2c("hello world",sep="",keep.sep=FALSE)
s2c("3.141592",sep=c(".","9"))
# character to string
c2s(aminoacids())
c2s(aminoacids(),sep=".")
Run the code above in your browser using DataLab