Learn R Programming

seqinr (version 3.4-5)

stresc: Utility function to escape LaTeX special characters present in a string

Description

This function returns a vector of strings in which LaTeX special characters are escaped, this was useful in conjunction with xtable.

Usage

stresc(strings)

Arguments

strings

A vector of strings to deal with.

Value

Returns a vector of strings with escaped characters within each string.

References

citation("seqinr")

See Also

s2c

Examples

Run this code
# NOT RUN {
  stresc("MISC_RNA")
  stresc(c("BB_0001","BB_0002"))
# }

Run the code above in your browser using DataLab