Hi,
Based on http://permalink.gmane.org/gmane.comp.lang.r.devel/24520
I've added completion for C++ objects. So for example, with the World
class from previous threads:
> w$g
w$clear w$greet w$set
Romain
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfranco
Le 29/05/10 09:10, Romain Francois a écrit :
Hello,
Currently, when exposing a c++ class to R through a Rcpp module, e.g:
class World {
public:
World() : msg("hello"){}
void set(std::string msg) { this->msg = msg; }
std::string greet() { return msg; }
private:
std::string msg;
};
void clearW
Hello,
Currently, when exposing a c++ class to R through a Rcpp module, e.g:
class World {
public:
World() : msg("hello"){}
void set(std::string msg) { this->msg = msg; }
std::string greet() { return msg; }
private:
std::string msg;
};
void clearWorld( World* w){
w->set