Thanks for the example! that makes everything clear.
-Whit
2010/10/5 Dirk Eddelbuettel :
>
> On 5 October 2010 at 13:21, Whit Armstrong wrote:
> | aha, thanks for correcting me. on the inline/Rcpp division of labor.
> |
> | So, what you are suggesting should have been obvious to me.
> |
> | I p
On 5 October 2010 at 13:21, Whit Armstrong wrote:
| aha, thanks for correcting me. on the inline/Rcpp division of labor.
|
| So, what you are suggesting should have been obvious to me.
|
| I pass the class def in the include statement of the inline function?
| Is that it?
|
| I'll ping back aft
aha, thanks for correcting me. on the inline/Rcpp division of labor.
So, what you are suggesting should have been obvious to me.
I pass the class def in the include statement of the inline function?
Is that it?
I'll ping back after I try this.
If this really works, then I think WinBUGS can fina
Hi Whit,
On 5 October 2010 at 12:25, Whit Armstrong wrote:
| I just reviewed the Rcpp documentation.
Great. Now tell us how to make it sticky so that we get you to contribute :)
| I see plenty of cfunction/cxxfunction examples, but I'm curious
| whether one can provide a class definition inlin
I just reviewed the Rcpp documentation.
I see plenty of cfunction/cxxfunction examples, but I'm curious
whether one can provide a class definition inline in an R script and
then initialize an instance of the class and call a method on the
class. all inline in R.
Is this feature something you all
Sorry for slow reply.
> Or perhaps use the "_" thing :
>
> ret( i, _ ) = ...
Is there documentation on _?
> Or perhaps have this syntax :
>
> ret.row(i) = ...
>
> We aleardy have row member function that returns a Row object, but it
> currently does not have a operator=, that could be taken care