Re: [Rd] BibTeX entries in CITATION file

From: Duncan Murdoch <murdoch.duncan_at_gmail.com>
Date: Thu, 22 Nov 2012 11:36:42 -0500

On 22/11/2012 11:28 AM, Mauricio Zambrano-Bigiarini wrote:
> Dear List,
>
> While trying to define a customised CITATION file for a package,
> following R-exts, I realised that if I use only one 'citEntry' I got
> both a text description and a BibTex entry for the package, as for the
> 'nlme' package:
>
> --------------------------
> citation('nlme')
>
> To cite package 'nlme' in publications use:
>
> Jose Pinheiro, Douglas Bates, Saikat DebRoy, Deepayan Sarkar and the
> R Development Core Team (2012). nlme: Linear and Nonlinear Mixed
> Effects Models. R package version 3.1-105.
>
> A BibTeX entry for LaTeX users is
>
> @Manual{,
> title = {nlme: Linear and Nonlinear Mixed Effects Models},
> author = {Jose Pinheiro and Douglas Bates and Saikat DebRoy and
> Deepayan Sarkar and {R Core Team}},
> year = {2012},
> note = {R package version 3.1-105},
> }
>
> -----------------------------------
>
>
> BUT, if I use two or more 'citEntry' in the CITATION file (e.g., for the
> manual and a book), the bibTeX entries are NOT shown any more, and only
> the text description for the two or more entries are shown, as for the
> 'boot' package:
>
> -----------------------------------
> citation('boot')
>
> To cite the 'boot' package in publications use:
>
> Angelo Canty and Brian Ripley (2012). boot: Bootstrap R (S-Plus)
> Functions. R package version 1.3-7.
>
> Davison, A. C. & Hinkley, D. V. (1997) Bootstrap Methods and Their
> Applications. Cambridge University Press, Cambridge. ISBN
> 0-521-57391-2
> -----------------------------------
>
> Is there any way to show the two bib entries for cases similar to the
> 'boot' package ?

toBibtex(citation("boot"))

should do it.



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Fri 23 Nov 2012 - 07:28:33 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 23 Nov 2012 - 09:21:15 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive