I\'m working in R, and I\'d like to define some variables that I (or one of my collaborators) cannot change. In C++ I\'d do this:
const std::string path( \"/
R doesn't have a language constant feature. The list idea above is good; I personally use a naming convention like ALL_CAPS.