Re: [Rd] Comments in the DESCRIPTION file

From: Duncan Murdoch <murdoch.duncan_at_gmail.com>
Date: Wed, 07 Nov 2012 04:53:46 -0500

On 12-11-07 4:26 AM, Christophe Genolini wrote:
> Hi all,
>
> Is it possible to add comments in the DESCRIPTION file?

The read.dcf function is used to read the DESCRIPTION file, and it doesn't support comments. (The current Debian control format description does appear to support comments with leading # markers, but R's read.dcf function doesn't support these.)

You could probably get away with something like

#: this is a comment

since unrecognized fields are ignored, but I think this fact is undocumented so I would say it's safer to assume that comments are not supported.

Duncan Murdoch



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Wed 07 Nov 2012 - 09:57:29 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 07 Dec 2012 - 00:02:53 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