Thank you Dirk; how embarrassing!
Regards,
Ben
On 05/16/2013 11:13 PM, Dirk Eddelbuettel wrote:
> Instead of
>
>time.f1 <- system(x2 <- f1(input=x, parms=p))
>
> you probably meant
>
>time.f1 <- system.time(x2 <- f1(input=x, parms=p))
>
> Also see the rbenchmark and microbenchmark packag
Instead of
time.f1 <- system(x2 <- f1(input=x, parms=p))
you probably meant
time.f1 <- system.time(x2 <- f1(input=x, parms=p))
Also see the rbenchmark and microbenchmark packages.
Dirk
--
Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com
_
Hello,
I'm getting an error that I'm at a loss to explain; here is my code:
#
library(inline)
f1 <- cxxfunction(signature(input = "numeric",
parms = "list"
),
plugin = "Rcpp",