On Wed, May 5, 2010 at 6:04 AM, Romain Francois
wrote:
> Le 13/04/10 00:14, Douglas Bates a écrit :
>>
>> One of the advantages of using S4 classes and methods in R is that
>> there are formal definitions of classes. I plan eventually to write R
>> code that will take an S4 class definition and c
Le 06/05/10 13:12, Giuseppe Milicia a écrit :
Dirk,
Unfortunately the pieces of code that use static variables are lost in the
depth of my libraries.
I used to mix R and Java using rJava, when you do that you can keep object
references in R rather easily, that is not immediately possible wit
Dirk,
Unfortunately the pieces of code that use static variables are lost in the
depth of my libraries.
I used to mix R and Java using rJava, when you do that you can keep object
references in R rather easily, that is not immediately possible with Rcpp.
Somehow I didn't think about static vari
Hi,
The new Rcpp::DataFrame follows R's tradition and automatically converts
character vectors into factors:
> fun <- cppfunction( signature(), '
+ IntegerVector v = IntegerVector::create(1,2,3);
+ std::vector s(3);
+ s[0] = "a";
+ s[1] = "b";
+ s[2] = "