[Rcpp-devel] Rcpp API Reference

Tim Keitt tkeitt at utexas.edu
Fri Sep 5 16:54:40 CEST 2014


On Fri, Sep 5, 2014 at 7:30 AM, Smith, Dale (Norcross) <
Dale.Smith at fiserv.com> wrote:

>  In that case, take a look at how cppreference is structured.
>
>
>
> http://en.cppreference.com/w/
>

Yes. This is my favorite reference cite. Very quick to find what you want
with just enough detail to be useful.

THK


>
>
> C++ versions change very infrequently, leaving plenty of opportunity to
> document changes. Rcpp changes more rapidly, requiring a different approach.
>
>
>
> *Dale Smith, Ph.D.*
>
> Senior Financial Quantitative Analyst
>
> Financial & Risk Management Solutions
>
> Fiserv
>
> Office: 678-375-5315
>
> www.fiserv.com
>
>
>
> *From:* Yixuan Qiu [mailto:yixuan.qiu at cos.name]
> *Sent:* Thursday, September 04, 2014 10:17 PM
> *To:* Smith, Dale (Norcross)
> *Cc:* rcpp-devel at lists.r-forge.r-project.org
> *Subject:* Re: [Rcpp-devel] Rcpp API Reference
>
>
>
> Hi all,
>
> I do appreciate your kind suggestions, and will definitely take Doxygen
> into account. The reason why I'm not using it at the moment is that I could
> be freer to organize the structure of a manually edited document, and
> that's why I titled this project as "Rcpp Notes". It's a kind of draft at
> the current stage, and hopefully it could be synchronized to Doxygen when
> the content is rich enough.
> Another more technical reason that I feel hard to control Doxygen is that
> Rcpp uses some macros and includes to define constructors and functions,
> which cannot be recognized by Doxygen directly. I'll try to figure it out
> in the future.
>
> Unit tests are helpful indeed, and interestingly they are also wonderful
> minimal examples for each public member function. My next plan is to embed
> these unit test examples into the documentation itself.
>
> Once again, thanks for all these inspiring ideas.
>
>  Best,
>
> Yixuan
>
>
>
> 2014-09-04 9:29 GMT-04:00 Smith, Dale (Norcross) <Dale.Smith at fiserv.com>:
>
> Doxygen is so useful because it's automatically generated. Keeping up with
> additions or changes with hand-crafted API documentation is not easy.
>
>
>
> You should at least include a link to the Rcpp Gallery.
>
>
>
> http://gallery.rcpp.org/
>
>
>
> I'd prefer detailed documentation for the unit tests as they are very
> useful.
>
>
>
> *Dale Smith, Ph.D.*
>
> Senior Financial Quantitative Analyst
>
> Financial & Risk Management Solutions
>
> Fiserv
>
> Office: 678-375-5315
>
> www.fiserv.com
>
>
>
>
>
> *From:* rcpp-devel-bounces at r-forge.wu-wien.ac.at [mailto:
> rcpp-devel-bounces at r-forge.wu-wien.ac.at] *On Behalf Of *Yixuan Qiu
> *Sent:* Wednesday, September 03, 2014 11:03 PM
> *To:* rcpp-devel at lists.r-forge.r-project.org
> *Subject:* [Rcpp-devel] Rcpp API Reference
>
>
>
> Dear all,
> I believe that everyone in this list has seen the benefit of using Rcpp to
> incorporate C++ code and develop R packages, but it's also the fact that
> currently there is rarely a complete reference which documents every detail
> of the classes and functions inside Rcpp.
> To make this situation a little bit better, recently I've created a
> project that aims to accomplish this long run target. A quick view of what
> it looks like is available at my site: http://statr.me/rcpp-note/
> Basically it's like the Doxygen documentation, but the content here was
> manually added rather than extracted from the Rcpp source code. For now
> I've finished some of the most commonly used classes in Rcpp, and do hope
> that more people are joining in, either by reviewing and correcting the
> existing documentation, or contributing your own knowledge.
> I wish this project would be helpful for those who want to use Rcpp in
> their code and packages, and be more powerful and complete with the help of
> you experts in this list. If you are also interested in, don't hesistate to
> go to the project repository (https://github.com/yixuan/Rcpp-note),
> reporting mistakes, contributing document or giving suggestions.
>
> Happy Rcpping!
>
> Best,
>
> Yixuan
>
>
> --
> Yixuan Qiu <yixuan.qiu at cos.name>
> Department of Statistics,
> Purdue University
>
>
>
>
> --
> Yixuan Qiu <yixuan.qiu at cos.name>
> Department of Statistics,
> Purdue University
>
> _______________________________________________
> 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
>



-- 
http://www.keittlab.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20140905/24cf49a3/attachment-0001.html>


More information about the Rcpp-devel mailing list