Re: [Rcpp-devel] question from a novice

2014-03-18 Thread Søren Højsgaard
[email protected]' Subject: [Rcpp-devel] question from a novice Sorry to bother you with a novice question, but I can't figure out why, when I try to sourceCpp (with verbose=TRUE) the code #include/* log */ #include using namespace Rcpp; // [[Rcpp::export]]

[Rcpp-devel] question from a novice

2014-03-18 Thread David Edwards
Sorry to bother you with a novice question, but I can't figure out why, when I try to sourceCpp (with verbose=TRUE) the code #include/* log */ #include using namespace Rcpp; // [[Rcpp::export]] double LRTrow(IntegerVector x) { IntegerVector y; y = x[x>0]; double lrtc = sum(y); i