[Rcpp-devel] What is the "correct" way to print text to R with Rcpp?

Tim Jurka timjurka at gmail.com
Tue Oct 18 07:54:37 CEST 2011


Hi Slava,

One way to do it is to use Rprintf() the same way you'd use the standard printf() command.

Best,
Tim

On Oct 17, 2011, at 10:52 PM, Slava Razbash wrote:

> Hello,
> 
> What is the "correct" way to print text to R with Rcpp? I find that
> "std::cout<<" will only work if i running R from a console. I am using
> winXP.
> 
> Best Regards,
> 
> Slava
> _______________________________________________
> 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/20111017/3f387496/attachment.htm>


More information about the Rcpp-devel mailing list