Gabor,
Here is a completely new, second variant of the same example, this time
implemented using only inline with a custom plugin. This should have what
you need.
Code first:
-
edd@max:/tmp$ cat boostregex.R
library(i
On 2 March 2013 at 20:59, Gabor Grothendieck wrote:
| > | If I use the MinGW from nuewn and run this from the Windows cnd line I
| > | get no errors or warnings (note that ^ must be the last character on
| > | the line to escape the newline):
| > |
| > | C:\MinGW\set_distro_paths.bat
| > | g++ -DN
On Sat, Mar 2, 2013 at 8:54 PM, Dirk Eddelbuettel wrote:
>
> On 2 March 2013 at 20:39, Gabor Grothendieck wrote:
> | On Sat, Mar 2, 2013 at 7:05 PM, Dirk Eddelbuettel wrote:
> | > Sorry that this is so frustrating, but this (IMNSHO) all just Windows...
> | >
> | > I would try two things:
> | >
>
On 2 March 2013 at 20:39, Gabor Grothendieck wrote:
| On Sat, Mar 2, 2013 at 7:05 PM, Dirk Eddelbuettel wrote:
| > Sorry that this is so frustrating, but this (IMNSHO) all just Windows...
| >
| > I would try two things:
| >
| > a) forward slashes (no escaping needed)
| >
| > b) use ve
On Sat, Mar 2, 2013 at 7:05 PM, Dirk Eddelbuettel wrote:
>
> On 2 March 2013 at 18:47, Gabor Grothendieck wrote:
> | On Sat, Mar 2, 2013 at 10:17 AM, Dirk Eddelbuettel wrote:
> | >
> | > On 1 March 2013 at 23:03, Gabor Grothendieck wrote:
> | > | On Fri, Mar 1, 2013 at 9:50 PM, Dirk Eddelbuettel
On 2 March 2013 at 18:47, Gabor Grothendieck wrote:
| On Sat, Mar 2, 2013 at 10:17 AM, Dirk Eddelbuettel wrote:
| >
| > On 1 March 2013 at 23:03, Gabor Grothendieck wrote:
| > | On Fri, Mar 1, 2013 at 9:50 PM, Dirk Eddelbuettel wrote:
| > | >
| > | > On 1 March 2013 at 21:24, Hadley Wickham wrot
On Sat, Mar 2, 2013 at 10:17 AM, Dirk Eddelbuettel wrote:
>
> On 1 March 2013 at 23:03, Gabor Grothendieck wrote:
> | On Fri, Mar 1, 2013 at 9:50 PM, Dirk Eddelbuettel wrote:
> | >
> | > On 1 March 2013 at 21:24, Hadley Wickham wrote:
> | > | > | I searched BH for regex and found nothing so I don
On 2 March 2013 at 22:40, Simon Zehnder wrote:
| That was fast Dirk! I will update my packages on Monday! Thank you for that
quick release!
Well I have been releasing within 24 hours of Conrad all along for what must
now be two dozen releases ... so my release wasn't exactly news.
As for your
That was fast Dirk! I will update my packages on Monday! Thank you for that
quick release!
Best
Simon
On Mar 2, 2013, at 4:56 PM, Dirk Eddelbuettel wrote:
>
> On 3 March 2013 at 01:09, Conrad S wrote:
> | Hi everyone,
> |
> | In Armadillo 3.800 I've added .imbue(), allowing a matrix to be
Beautiful Conrad!
This is exactly what helps to make individual random number generation easier
in Armadillo/RcppArmadillo! Up to now I use solely the standard C++ RNG engine
(std::mt19937) and run a loop. Now I can just use .imbue on a matrix and do not
have to care about indices and index bo
On 2 March 2013 at 11:05, JJ Allaire wrote:
| Note that the Sys.setenv technique described by Dirk will work for
| Rcpp from SVN but not (yet) for the version of Rcpp on CRAN.
Ooops. My bad. So that precludes use of sourceCpp().
All other methods involving the R CMD COMPILE', 'R CMD SHLIB' et
Note that the Sys.setenv technique described by Dirk will work for
Rcpp from SVN but not (yet) for the version of Rcpp on CRAN.
JJ
___
Rcpp-devel mailing list
Rcpp-devel@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/list
On 3 March 2013 at 01:09, Conrad S wrote:
| Hi everyone,
|
| In Armadillo 3.800 I've added .imbue(), allowing a matrix to be filled
| using a functor or C++11 lambda expression. This allows the use of the
| Mersenne twister random number engine built into C++11. For example:
|
| std::mt19937 en
On 2 March 2013 at 09:58, Greg Minshall wrote:
| hi, all. i've had great success speeding up my computations using
| Rcpp/C++. (thanks to the list for the help getting up and running.)
|
| but...
|
| now, when i scale up (from a 554x415 matrix to a 2592x1936 matrix), my
| run time slows down,
On 1 March 2013 at 23:03, Gabor Grothendieck wrote:
| On Fri, Mar 1, 2013 at 9:50 PM, Dirk Eddelbuettel wrote:
| >
| > On 1 March 2013 at 21:24, Hadley Wickham wrote:
| > | > | I searched BH for regex and found nothing so I don't think BH includes
| > | > | Boost.Regex.
| > | >
| > | > Could you
Hi everyone,
In Armadillo 3.800 I've added .imbue(), allowing a matrix to be filled
using a functor or C++11 lambda expression. This allows the use of the
Mersenne twister random number engine built into C++11. For example:
std::mt19937 engine;
std::uniform_real_distribution distr(0.0, 1.0);
ar
hi, all. i've had great success speeding up my computations using
Rcpp/C++. (thanks to the list for the help getting up and running.)
but...
now, when i scale up (from a 554x415 matrix to a 2592x1936 matrix), my
run time slows down, and experimenting, it seems it's the cost of
copying my datase
17 matches
Mail list logo