I think std:endl should be std::endl

Barth



On 11/27/2018 9:35 AM, Barth Riley wrote:

Dear Rcppers

I am encountering a problem with Rcout. Even with basic string output, when I run the function containing the call to Rcout, no output is generated. Here is a simple example of what I’m trying to do:

// [[Rcpp::export]]

void testFunc() {

           Rcpp::Rcout << "testFunc begins" << std:endl;

           . . .

}

My code is part of a package I’m developing, using R 3.51 and Rcpp 0.12.19. The Rcpp code compiles without a problem.

Thanks

Barth


_______________________________________________
Rcpp-devel mailing list
Rcpp-devel@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
_______________________________________________
Rcpp-devel mailing list
Rcpp-devel@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to