attempt to use R support for C++11