On 31 March 2014 at 11:22, Søren Højsgaard wrote:
| And the obvious answer is to use Rcout <<... << std::endl;

CRAN uploads we must heed the CRAN Policy and recommendations of Writing R
Extensions and should use R's input/output facilities.  Based on your comment
it seems that knitr also needs it that way to capture it.

In general, Rcpp::Rcout is good and useful (and thanks once again for Jelmer
for the initial patches implementing it).

Dirk

| Sorry !
| Søren!
| 
| -----Original Message-----
| From: [email protected] 
[mailto:[email protected]] On Behalf Of Søren 
Højsgaard
| Sent: 31. marts 2014 12:51
| To: Dirk Eddelbuettel
| Cc: [email protected]
| 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

-- 
Dirk Eddelbuettel | [email protected] | http://dirk.eddelbuettel.com
_______________________________________________
Rcpp-devel mailing list
[email protected]
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to