Public codes of R