Learn R Programming

seqinr (version 4.2-36)

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)

Value

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

Arguments

strings

A vector of strings to deal with.

Author

J.R. Lobry

References

citation("seqinr")

See Also

s2c

Examples

Run this code
  stresc("MISC_RNA")
  stresc(c("BB_0001","BB_0002"))

Run the code above in your browser using DataLab