[Python-ideas] Add a __cite__ method for scientific packages

pylang pylang3 at gmail.com
Thu Jun 28 17:08:11 EDT 2018


​​
​> Are there other languages or software communities that do something like
this? It would be nice not to have to invent this wheel. ​

While I do not use R regularly, I understand their community is largely
academic-driven, and citations are strongly encouraged as seen in their
documentation:

https://stat.ethz.ch/R-manual/R-devel/library/utils/html/citation.html

Here is an example use of their `citation()` function:

http://www.blopig.com/blog/2013/07/citing-r-packages-in-your-thesispaperassignments/

    > citation()

    To cite R in publications use:

        R Core Team (2013). R: A language and environment for statistical
        computing. R Foundation for Statistical Computing, Vienna, Austria.
        URL http://www.R-project.org/.

    A BibTeX entry for LaTeX users is

        @Manual{,
            title = {R: A Language and Environment for Statistical
Computing},
            author = {{R Core Team}},
            organization = {R Foundation for Statistical Computing},
            address = {Vienna, Austria},
            year = {2013},
            url = {http://www.R-project.org/},
        }

Calling the `citation()` function generates a BibTex output (
http://www.bibtex.org/), which is one of the most common citation
conventions.

For reference, I believe this is the source code:

https://github.com/wch/r-source/blob/c3f7d32c842ca61fa23a25d4240d6caf980fe2ee/src/library/tools/R/citation.R
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20180628/ec9df1db/attachment-0001.html>


More information about the Python-ideas mailing list