ProCogia Interview Question

How will you take the reverse complement of a DNA string in R?