<font face="arial,helvetica,sans-serif">Hi Aileen,</font><div><font face="arial,helvetica,sans-serif"><br></font></div><div><font face="arial,helvetica,sans-serif">If you are building a package with Rcpp and using the Rcpp::export attribute to create R callable functions then you can indeed add Roxygen comments to your C++ functions and they'll be picked up. Section 3.4 of the Rcpp Attributes vignette covers this:</font></div>
<div><font face="arial,helvetica,sans-serif"><br></font></div><div><font face="arial,helvetica,sans-serif"><a href="http://cran.r-project.org/web/packages/Rcpp/vignettes/Rcpp-attributes.pdf">http://cran.r-project.org/web/packages/Rcpp/vignettes/Rcpp-attributes.pdf</a></font></div>
<div><font face="arial,helvetica,sans-serif"><br></font></div><div><font face="arial,helvetica,sans-serif">J.J.<br></font><br><div class="gmail_quote">On Thu, Feb 21, 2013 at 1:17 AM, Aileen Lin <span dir="ltr"><<a href="mailto:aileenshanhong.lin@gmail.com" target="_blank">aileenshanhong.lin@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Hi there,</p>
<p dir="ltr">I gained a lot of benefit from your discussion and rcpp gallery. Thank you very much. Just wondering whether roxygen2 can read those comments in my .CPP files. </p>
<p dir="ltr">Regards, <br>
Aileen Lin</p>
<br>_______________________________________________<br>
Rcpp-devel mailing list<br>
<a href="mailto:Rcpp-devel@lists.r-forge.r-project.org">Rcpp-devel@lists.r-forge.r-project.org</a><br>
<a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel" target="_blank">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel</a><br></blockquote></div><br></div>