Re: [Rcpp-devel] non-empty character argument expected

2013-05-17 Thread Benjamin Tyner
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

Re: [Rcpp-devel] non-empty character argument expected

2013-05-16 Thread Dirk Eddelbuettel
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 _

[Rcpp-devel] non-empty character argument expected

2013-05-16 Thread Benjamin Tyner
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",