This function returns a vector of strings in which LaTeX special characters are escaped, this was useful in conjunction with xtable.
stresc(strings)
A vector of strings to deal with.
Returns a vector of strings with escaped characters within each string.
citation("seqinr")
# NOT RUN {
stresc("MISC_RNA")
stresc(c("BB_0001","BB_0002"))
# }
Run the code above in your browser using DataLab