<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>I think std:endl should be std::endl</p>
<p><br>
</p>
<p>Barth</p>
<p><br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 11/27/2018 9:35 AM, Barth Riley
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:20181127153524.737E118510A@r-forge.r-project.org">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
<div class="WordSection1">
<p class="MsoNormal">Dear Rcppers</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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:</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">// [[Rcpp::export]]</p>
<p class="MsoNormal">void testFunc() {</p>
<p class="MsoNormal"> Rcpp::Rcout << "testFunc
begins" << std:endl;</p>
<p class="MsoNormal"> . . . </p>
<p class="MsoNormal">}</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">My code is part of a package I’m
developing, using R 3.51 and Rcpp 0.12.19. The Rcpp code
compiles without a problem.</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks </p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Barth</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Rcpp-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Rcpp-devel@lists.r-forge.r-project.org">Rcpp-devel@lists.r-forge.r-project.org</a>
<a class="moz-txt-link-freetext" href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel</a></pre>
</blockquote>
</body>
</html>