I'd like to lock an environment (and bindings) to make sure some data cannot be accidentially corrupted during execution of further code. Later, I'd need to unlock it again. There was this wonderful post Stackoverflow pointing to GitHub gist quite some time ago (this is why I created a new post) demonstrating a way to unlockEnvironment, however now it throws just an error (R version 3.0.1):
Error in compileCode(f, code, language, verbose) :
Compilation ERROR, function(s)/method(s) not created!
In addition: Warning message:
running command 'C:/PROGRA~1/R/R-30~1.1/bin/i386/R CMD SHLIB file3e30b45254d.cpp 2> file3e30b45254d.cpp.err.txt' had status 1
Any help is appreciated!