And the obvious answer is to use Rcout <<... << std::endl;
Sorry !
Søren!

-----Original Message-----
From: rcpp-devel-boun...@lists.r-forge.r-project.org 
[mailto:rcpp-devel-boun...@lists.r-forge.r-project.org] On Behalf Of Søren 
Højsgaard
Sent: 31. marts 2014 12:51
To: Dirk Eddelbuettel
Cc: rcpp-devel@lists.r-forge.r-project.org
Subject: Re: [Rcpp-devel] RcppEigen: Avoiding accessing elements with coeff(i, 
j) in sparse matrix

I am writing this up for the gallery. I can't get output generated with 
"std::cout << ... <<" to appear on the resulting html file. Is that possible or 
must I do something else?
Cheers
Søren

-----Original Message-----
From: Dirk Eddelbuettel [mailto:e...@debian.org] 
Sent: 25. marts 2014 17:10
To: Søren Højsgaard
Cc: Douglas Bates; rcpp-devel@lists.r-forge.r-project.org
Subject: Re: [Rcpp-devel] RcppEigen: Avoiding accessing elements with coeff(i, 
j) in sparse matrix


On 25 March 2014 at 16:05, Søren Højsgaard wrote:
| Doug: Thanks a lot; I see the logic now! For my specific application 
| the second argument is a sparse vector, but that modification should 
| be straight forward with more iterators (and they are definitely sorted).
| 
|  
| 
| To the list: Does it have enough general interest to justify writing 
| it up for the gallery?

Yes please!

Dirk (who is happy he didn't even have to ask for it :)

--
Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com
_______________________________________________
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