Le 16/11/12 18:03, Hadley Wickham a écrit :
Ouch. Simon wins:
expr minlqmedianuq max
1 fmatch(xx, letters) 59.4727 60.29989 74.18049 77.94288 112.2938
2 match__(xx, letters) 137.3878 137.77486 138.33766 152.14018 193.3748
3 match_(xx, letter
> Ouch. Simon wins:
>
> expr minlqmedianuq max
> 1 fmatch(xx, letters) 59.4727 60.29989 74.18049 77.94288 112.2938
> 2 match__(xx, letters) 137.3878 137.77486 138.33766 152.14018 193.3748
> 3 match_(xx, letters) 147.7115 148.36442 149.20221 162.
> I agree that we might want to have these things in a package say RcppBase.
> Then Rcpp can remain the R to cpp layer. And anybody who want to implement
> an R base function in cpp, can contribute it to RcppBase.
Sounds like a good idea, except for the naming (which makes it sound
like the Rcpp b
I agree that we might want to have these things in a package say RcppBase.
Then Rcpp can remain the R to cpp layer. And anybody who want to implement
an R base function in cpp, can contribute it to RcppBase.
Willem
On Fri, Nov 16, 2012 at 8:56 AM, Romain Francois
wrote:
> We need to fond the ri
We need to fond the right compromise between bloating Rcpp (which is
already quite huge:
wc src/* inst/include/**/** inst/include/* 2> /dev/null | tail -n1
66180 784183 6425152 total
and support generic enough things.
I can see things like union and setdiff being generic enough (we already
Dear list
[>>] I am not sure if Hadleys remark below was an invitation to make a
"wishlish", but I'll take the risk:
1) I have made several packages related to graphical models for multivariate
data. Much of these packages deals with "book keeping": operations on sets of
subsets of a finite s
On 15 November 2012 at 16:45, Willem Ligtenberg wrote:
| No need to jump on me.
| I didn't know that Rcpp lived on R-Forge, but that is mostly because all of
the
| info is found on your site:
| http://dirk.eddelbuettel.com/code/rcpp.html
Well the problem is that
a) we have too much document
No need to jump on me.
I didn't know that Rcpp lived on R-Forge, but that is mostly because all of
the info is found on your site:
http://dirk.eddelbuettel.com/code/rcpp.html
I will gladly use R-forge for this.
(for the list etiquette I am blaiming gmail, it truncated the other
messages...)
On T
On 15 November 2012 at 16:02, Willem Ligtenberg wrote:
| and now to the list...
|
| Nothing specific, but some way of sharing would be nice. :)
Funny how we managed to do that "sharing thing" for almost 4000 commits
without using github...
Seriously, this has been on R-Forge for 4 1/2 years, an
and now to the list...
Nothing specific, but some way of sharing would be nice. :)
On Thu, Nov 15, 2012 at 3:58 PM, Romain Francois
wrote:
> Help is very welcome. Why github though ?
>
> Le 15/11/12 15:42, Willem Ligtenberg a écrit :
>
>> Would be nice to keep the list and the progress on githu
Help is very welcome. Why github though ?
Le 15/11/12 15:42, Willem Ligtenberg a écrit :
Would be nice to keep the list and the progress on github.
Other might pitch in and help out, I am also interested, just don't know
how much time I can spend on it.
Kind regards,
Willem
On Thu, Nov 15, 2
Would be nice to keep the list and the progress on github.
Other might pitch in and help out, I am also interested, just don't know
how much time I can spend on it.
Kind regards,
Willem
On Thu, Nov 15, 2012 at 3:24 PM, Romain Francois
wrote:
> Le 15/11/12 14:52, Hadley Wickham a écrit :
>
> R
>> PS. Would you be interested in a set of R functions that from a quick
>> skim of the R sources that I think could be much much faster if
>> implemented in Rcpp?
>
> Sure. Time I have available will decide what I do of the list ^^.
Here's the list:
rowsum.default (C)?
findInterval (C)?
Le 15/11/12 14:52, Hadley Wickham a écrit :
R
utilisateur système écoulé
0.338 0.024 0.362
R (second time)
utilisateur système écoulé
0.262 0.000 0.262
match_ manual Rcpp
utilisateur système écoulé
0.144 0.000 0.1
> R
> utilisateur système écoulé
> 0.338 0.024 0.362
> R (second time)
> utilisateur système écoulé
> 0.262 0.000 0.262
> match_ manual Rcpp
> utilisateur système écoulé
> 0.144 0.000 0.144
> match__ internal Rcpp
> ut
omain Francois [mailto:rom...@r-enthusiasts.com]
Sent: 15. november 2012 00:50
To: Søren Højsgaard
Cc: rcpp-devel@lists.r-forge.r-project.org
Subject: Re: [Rcpp-devel] Rcpp "version" of R's match function
Ah. Things are particularly interesting if you want to deal with strings.
Th
lists.r-forge.r-project.org
[mailto:rcpp-devel-boun...@lists.r-forge.r-project.org] On Behalf Of
Romain Francois
Sent: 15. november 2012 00:01
To: rcpp-devel@lists.r-forge.r-project.org
Subject: Re: [Rcpp-devel] Rcpp "version" of R's match function
Le 14/11/12 23:48, Søren Højsgaard a
-forge.r-project.org
Subject: Re: [Rcpp-devel] Rcpp "version" of R's match function
Ah. Things are particularly interesting if you want to deal with strings.
The code below implements a c++ version of match for character vectors.
beware it uses trickery related to tricking the write barr
r-project.org] On Behalf Of Romain
Francois
Sent: 15. november 2012 00:01
To: rcpp-devel@lists.r-forge.r-project.org
Subject: Re: [Rcpp-devel] Rcpp "version" of R's match function
Le 14/11/12 23:48, Søren Højsgaard a écrit :
Dear all,
I need to call R's match function fro
ber 2012 00:01
To: rcpp-devel@lists.r-forge.r-project.org
Subject: Re: [Rcpp-devel] Rcpp "version" of R's match function
Le 14/11/12 23:48, Søren Højsgaard a écrit :
> Dear all,
>
> I need to call R's match function from a c++ program so I can do
> Rcpp::Function R_m
Le 14/11/12 23:48, Søren Højsgaard a écrit :
Dear all,
I need to call R's match function from a c++ program so I can do
Rcpp::Function R_match("match");
Rcpp::NumericVector out = R_match(x_, table_);
However, I wonder if there is such a "match" function in C++ that I can call
(to avoid the
Dear all,
I need to call R's match function from a c++ program so I can do
Rcpp::Function R_match("match");
Rcpp::NumericVector out = R_match(x_, table_);
However, I wonder if there is such a "match" function in C++ that I can call
(to avoid the extra overhead)?
Any ideas would be welcome
Re
22 matches
Mail list logo