We investigate the relationship between R Coronae Borealis (RCB) stars and hydrogen-deficient carbon (HdC) stars by measuring precise O-16/O-18 ratios for five cool RCB stars. The O-16/O-18 ratios are derived by spectrum synthesis from high-resolution (R similar to 50,000) K-band spectra. Lower limits to the O-16/O-17 and N-14/N-15 ratios as well as Na and S abundances (when possible) are also given. RCB stars in our sample generally display less O-18 than HdC stars-the derived O-16/O-18 ratios range from 3 to 20. The only exception is the RCB star WX CrA, which seems to be an HdC-like star with O-16/O-18 = 0.3. Our result of a higher O-16/O-18 ratio for the RCB stars must be accounted for by a theory of the formation and evolution of HdC and RCB stars. We speculate that a late dredge-up of products of He burning, principally C-12 and O-16, may convert an O-18-rich HdC star into an O-18-poor RCB star as the H-deficient star begins its final evolution from a cool supergiant to the top of the white dwarf cooling track.