On Tue, 27 Nov 2018 at 16:35, Barth Riley <barthri...@comcast.net> 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;
>            . . .
> }

Note that it should be "std::endl", with double colon. Assuming this
is a transcription error, you'll have to provide more context (and,
ideally, some kind of reproducible example), because this works just
fine.

Iñaki
_______________________________________________
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