[Rcpp-devel] Rcpp::Environment
Romain François
francoisromain at free.fr
Wed Dec 30 20:33:38 CET 2009
I've commited some code for the class Rcpp::Environment, somewhat
inspired from code in JRI, with the associated unit tests.
Rcpp::Environment has this interface (for now) :
Environment(SEXP m_sexp) ;
~Environment() ;
SEXP ls(bool all) const ;
SEXP get(const std::string& name) const ;
bool exists( const std::string& name ) const ;
bool assign( const std::string& name, SEXP x ) const ;
bool isLocked() const ;
bool bindingIsLocked(const std::string& name) const ;
bool bindingIsActive(const std::string& name) const ;
Romain
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/IW9B : C++ exceptions at the R level
|- http://tr.im/IlMh : CPP package: exposing C++ objects
`- http://tr.im/HlX9 : new package : bibtex
More information about the Rcpp-devel
mailing list