[Rcpp-devel] Problems with Rcout

Barth Riley barthriley at comcast.net
Tue Feb 5 22:26:44 CET 2019


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 at lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20190205/6c85d834/attachment.html>


More information about the Rcpp-devel mailing list