"
| > Cc: "Dirk Eddelbuettel" , "Anwar Ludin"
, rcpp-devel@lists.r-forge.r-project.org
| > Envoyé: Lundi 13 Mai 2013 21:38:34
| > Objet: Re: [Rcpp-devel] using Rcpp modules to expose class
| >
| >
| > On 13 May 2013 at 21:25, Robin Girard wrote:
| > |
r Ludin"
, rcpp-devel@lists.r-forge.r-project.org
| > Envoyé: Lundi 13 Mai 2013 21:38:34
| > Objet: Re: [Rcpp-devel] using Rcpp modules to expose class
| >
| >
| > On 13 May 2013 at 21:25, Robin Girard wrote:
| > |
http://romainfrancois.blog.free.fr/index.php?post/2012/10/25
rom the blog posts so things may or
may not work. Proof is in the pudding and all that. ]
Dirk
| R.
|
| - Mail original -
| De: "Dirk Eddelbuettel"
| À: "Robin Girard"
| Cc: "Anwar Ludin" , rcpp-devel@lists.r-forge.r-project.org,
"Dirk Eddelbuettel&qu
Mail original -
De: "Dirk Eddelbuettel"
À: "Robin Girard"
Cc: "Dirk Eddelbuettel" , "Anwar Ludin"
, rcpp-devel@lists.r-forge.r-project.org
Envoyé: Lundi 13 Mai 2013 21:38:34
Objet: Re: [Rcpp-devel] using Rcpp modules to expose class
On 13 May 20
| R.
|
| - Mail original -
| De: "Dirk Eddelbuettel"
| À: "Robin Girard"
| Cc: "Anwar Ludin" ,
rcpp-devel@lists.r-forge.r-project.org, "Dirk Eddelbuettel"
| Envoyé: Lundi 13 Mai 2013 19:25:09
| Objet: Re: [Rcpp-devel] using Rcpp modules to expo
uot;
Envoyé: Lundi 13 Mai 2013 19:25:09
Objet: Re: [Rcpp-devel] using Rcpp modules to expose class
On 13 May 2013 at 19:05, Robin Girard wrote:
| As suggested in the example of Romain's Blog
| here http://romainfrancois.blog.free.fr/
There are dozens of posts regarding Rcpp on his blog. If
;Anwar Ludin"
| À: "Dirk Eddelbuettel"
| Cc: rcpp-devel@lists.r-forge.r-project.org
| Envoyé: Lundi 13 Mai 2013 16:11:35
| Objet: Re: [Rcpp-devel] using Rcpp modules to expose class
|
| Hi Dirk,
|
| Thanks for your answer!
|
| So if I understand correctly, the fact that I exposed previous
t;Dirk Eddelbuettel"
Cc: rcpp-devel@lists.r-forge.r-project.org
Envoyé: Lundi 13 Mai 2013 16:11:35
Objet: Re: [Rcpp-devel] using Rcpp modules to expose class
Hi Dirk,
Thanks for your answer!
So if I understand correctly, the fact that I exposed previously
Portfolio is not enough?
I stil
On 13 May 2013 at 16:11, Anwar Ludin wrote:
| Hi Dirk,
|
| Thanks for your answer!
|
| So if I understand correctly, the fact that I exposed previously
| Portfolio is not enough?
What do you mean by "exposed"?
You defined it, so the compiler will no
comlain about 'unknown type'. But that
Hi Dirk,
Thanks for your answer!
So if I understand correctly, the fact that I exposed previously
Portfolio is not enough?
I still need to provide wrap the template specialization:
template <> SEXP wrap( const Portfolio& ) ;
Thanks,
Anwar
On 05/13/2013 03:28 PM, Dirk Eddelbuettel wrote
On 13 May 2013 at 14:59, Anwar Ludin wrote:
| Hello,
|
| I'm trying to expose 2 classes from a Rcpp module:
|
| class Portfolio{
| private:
| std::string portfolioId, description;
| public:
| Portfolio(std::string portfolioId, std::string description)
| : portfolioId(portfol
Hello,
I'm trying to expose 2 classes from a Rcpp module:
class Portfolio{
private:
std::string portfolioId, description;
public:
Portfolio(std::string portfolioId, std::string description)
: portfolioId(portfolioId), description(description) {}
std::string getPortfol
12 matches
Mail list logo