* unlocks the given binding * see ?bindingIsLocked * * @throw no_such_binding if there is no such binding in this environment */
| 262 | * @throw no_such_binding if there is no such binding in this environment |
| 263 | */ |
| 264 | void unlockBinding(const std::string& name){ |
| 265 | if( !exists( name) ) throw no_such_binding(name) ; |
| 266 | SEXP nameSym = Rf_install(name.c_str()); |
| 267 | R_unLockBinding( nameSym, Storage::get__() ); |
| 268 | } |
| 269 | |
| 270 | /** |
| 271 | * @param name name of a potential binding |