On 5 February 2019 at 15:26, Barth Riley wrote:
| I think std:endl should be std::endl
Indeed.
I actually made the same typo a few days ago but as I recall the compiler was
also pretty clear that I was wrong there and gave me a hint.
Quick check seems to confirm that:
R> library(Rcpp)
R> cppFu
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 tryi
Time for you to document your working environment, Barth. Things that occur to
me are the outputs of sessionInfo() and and system2( "gcc", "--version").
On November 27, 2018 8:21:57 AM PST, Barth Riley wrote:
>Thanks for your reply. No, I’m not calling this using parallelization,
>and to my know
On Tue, 27 Nov 2018 at 17:22, Barth Riley wrote:
>
> Thanks for your reply. No, I’m not calling this using parallelization, and to
> my knowledge at least I have not redirected stdout (how would I check this?).
> The function is meant to be called by another function, but I am testing it
> dire
Thanks for your reply. No, I’m not calling this using parallelization, and to
my knowledge at least I have not redirected stdout (how would I check this?).
The function is meant to be called by another function, but I am testing it
directly from the R console.
Barth
On Tue, 27 Nov 2018 at 17:06, Barth Riley wrote:
>
> Here is a more complete example. Note that I want to output text strings for
> debugging purposes as the code for treatAsVector = true is never executed.
The contents of the function are irrelevant. If I compile and execute
this in a clean ses
Here is a more complete example. Note that I want to output text strings for
debugging purposes as the code for treatAsVector = true is never executed.
Barth
NumericVector getValidCount(Rcpp::NumericMatrix m,
bool treatAsVector) {
Rcpp::Rcout << "getValidCount B
Le 27/11/2018 à 16:35, Barth Riley a écrit :
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
On Tue, 27 Nov 2018 at 16:35, 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]