next up previous
Next: util.data Up: CHNOSZ examples Previous: [1] util.blast

util.character

## Don't show: data(thermo)
thermo$obigt: 1809 aqueous, 3368 total species
## End(Don't show) ## string to character s2c("hello world")
[1] "h" "e" "l" "l" "o" " " "w" "o" "r" "l" "d"
s2c("hello world",sep=" ",keep.sep=FALSE)
[1] "hello" "world"
s2c("3.141592",sep=c(".","9"))
[1] "3" ".1415" "92"
# character to string c2s(aminoacids())
[1] "A C D E F G H I K L M N P Q R S T V W Y"
c2s(aminoacids(),sep=".")
[1] "A.C.D.E.F.G.H.I.K.L.M.N.P.Q.R.S.T.V.W.Y"


next up previous
Next: util.data Up: CHNOSZ examples Previous: [1] util.blast