What is the unit of the Rydberg Constant?
To convert between joules (units of energy) and inverse centimetres (conventional units of wavenumber) simply requires multiplication by a factor of $hc$. This is because

$$E = h\nu = \frac{hc}{\lambda} = hc\bar\nu$$

Of course, they are not literally equal, but they are physically equivalent.