Skip to content
Back to formatted view

Raw Message

Message-ID: <CALEXWq3tTXhGPidXiswCLfvhB4-f2RDAmn12q+CGeMYaNs8VLg@mail.gmail.com>
Date: 2018-11-27T15:50:13Z
From: IƱaki Ucar
Subject: [Rcpp-devel] Problems with Rcout
In-Reply-To: <20181127153524.737E118510A@r-forge.r-project.org>

On Tue, 27 Nov 2018 at 16:35, Barth Riley <barthriley at 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