Work on bug #7790.  I think I got the R to T and T to R functions working.