get CXX variable from R