Re: [R] CITATION file with multiple citEntry(): no BibTeX produced by citation()

From: Achim Zeileis <>
Date: Mon, 17 Nov 2008 22:42:14 +0100 (CET)

On Mon, 17 Nov 2008, Michael Friendly wrote:

> [Using R 2.8.0 / Win XP / ]
> I just added a CITATION file to the heplots package--- appended below.
> From the document ion for ?CITATION, there can be *one or more* calls to
> citEntry() within the CITATION file, and each should produce an object
> of class "citation".
> If I uncomment the second citEntry() in CITATION below and rebuild/INSTALL,
> the BibTeX entries are not produced,
> Did I miss something

Yes, the documentation :-)
?citation says

      If only one reference is given, the print method shows both a text
      version and a BibTeX entry for it, if a package has more than one
      reference then only the text versions are shown. The BibTeX
      versions can be obtained using function 'toBibtex' (see the
      examples below).

See for example


To produce the header for the second entry, you can use the header argument:

   citEntry(..., header = "...")

Z mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Mon 17 Nov 2008 - 21:45:02 GMT

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 Tue 18 Nov 2008 - 16:30:25 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive