Hi all, Is it possible to add comments in the DESCRIPTION file? Sincerely Christophe -- Christophe Genolini Ma?tre de conf?rences en bio-statistique Vice pr?sident Communication interne et animation du campus Universit? Paris Ouest Nanterre La D?fense
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
Hi all, Since R 3.0.0, the '#' does no longuer works for comments. But as noticed above, comments can be introduce by 'anyWord:' or 'myComment;' or 'toto:'. Since '#' can be used to name a field, we can also used '#:' or '###:' (or even '%:' for LaTeX's fans). So '#:' is a new possible way for adding comments in DESCRIPTION file. Christophe -- View this message in context: http://r.789695.n4.nabble.com/Comments-in-the-DESCRIPTION-file-tp4648678p4665892.html Sent from the R devel mailing list archive at Nabble.com.