Re: [Rd] Comments in the DESCRIPTION file

2013-05-02 Thread Simon Urbanek
On May 2, 2013, at 10:17 AM, cgenolin wrote: > So it IS curently accepted, but may NOT be in the futur. Thanks for your > answer. > > So I guess that using > --- 8< - > %1: > %%%2: Section 1 > %%%3 > ... > --- 8< - > > is correct, isn't it? > Yes, that is lega

Re: [Rd] Comments in the DESCRIPTION file

2013-05-02 Thread cgenolin
So it IS curently accepted, but may NOT be in the futur. Thanks for your answer. So I guess that using --- 8< - %1: %%%2: Section 1 %%%3 ... --- 8< - is correct, isn't it? Christophe -- View this message in context: http://r.789695.n4.nabble.com/Comments-in-

Re: [Rd] Comments in the DESCRIPTION file

2013-05-02 Thread Simon Urbanek
On May 2, 2013, at 2:58 AM, cgenolin wrote: > Hi, > > I am not that familiar with the DCF... But R seems to accept # quite easely. The fact that R currently accepts invalid DCF files is not a guarantee that it won't be following the standard more closely in the future. What you are doing is i

Re: [Rd] Comments in the DESCRIPTION file

2013-05-02 Thread cgenolin
Hi, I am not that familiar with the DCF... But R seems to accept # quite easely. More precisely: Before posting my message, I try it on a small package: R CMD check or R CMD INSTALL did not make any warning or error (whereas they do if I use '#' alone). After reading your response, I dig a bit

Re: [Rd] Comments in the DESCRIPTION file

2013-05-01 Thread Simon Urbanek
On May 1, 2013, at 6:01 AM, cgenolin wrote: > 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 > eve

Re: [Rd] Comments in the DESCRIPTION file

2013-05-01 Thread cgenolin
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 a

Re: [Rd] Comments in the DESCRIPTION file

2012-12-07 Thread Hervé Pagès
d lines are either empty, the start of a new description, or start with a space, a continuation of the previous line.) Bill Dunlap Spotfire, TIBCO Software wdunlap tibco.com -Original Message- From: r-devel-boun...@r-project.org [mailto:r-devel-boun...@r-project.org] On Behalf Of He

Re: [Rd] Comments in the DESCRIPTION file

2012-12-06 Thread Mauricio Zambrano-Bigiarini
On 06/12/12 19:14, Uwe Ligges wrote: On 06.12.2012 18:22, Mauricio Zambrano-Bigiarini wrote: On 07/11/12 11:01, Prof Brian Ripley wrote: On 07/11/12 09:53, Duncan Murdoch wrote: On 12-11-07 4:26 AM, Christophe Genolini wrote: Hi all, Is it possible to add comments in the DESCRIPTION file?

Re: [Rd] Comments in the DESCRIPTION file

2012-12-06 Thread Simon Urbanek
l Message- >>> From: r-devel-boun...@r-project.org [mailto:r-devel-boun...@r-project.org] >>> On Behalf >>> Of Hervé Pagès >>> Sent: Thursday, December 06, 2012 3:47 PM >>> To: Duncan Murdoch >>> Cc: christophe.genol...@u-paris10.fr; r-de

Re: [Rd] Comments in the DESCRIPTION file

2012-12-06 Thread Hervé Pagès
..@r-project.org] On Behalf Of Hervé Pagès Sent: Thursday, December 06, 2012 3:47 PM To: Duncan Murdoch Cc: christophe.genol...@u-paris10.fr; r-devel@r-project.org; Christophe Genolini Subject: Re: [Rd] Comments in the DESCRIPTION file On 12/06/2012 03:41 PM, Hervé Pagès wrote: Hi, Would

Re: [Rd] Comments in the DESCRIPTION file

2012-12-06 Thread William Dunlap
-boun...@r-project.org] On > Behalf > Of Hervé Pagès > Sent: Thursday, December 06, 2012 3:47 PM > To: Duncan Murdoch > Cc: christophe.genol...@u-paris10.fr; r-devel@r-project.org; Christophe > Genolini > Subject: Re: [Rd] Comments in the DESCRIPTION file > > &

Re: [Rd] Comments in the DESCRIPTION file

2012-12-06 Thread Hervé Pagès
On 12/06/2012 03:41 PM, Hervé Pagès wrote: Hi, Wouldn't be hard to patch read.dcf() though. FWIW here's the "comment aware" version of read.dcf() I've been using for years: .removeCommentLines <- function(infile=stdin(), outfile=stdout()) { if (is.character(infile)) { inf

Re: [Rd] Comments in the DESCRIPTION file

2012-12-06 Thread Hervé Pagès
Hi, Wouldn't be hard to patch read.dcf() though. FWIW here's the "comment aware" version of read.dcf() I've been using for years: .removeCommentLines <- function(infile=stdin(), outfile=stdout()) { if (is.character(infile)) { infile <- file(infile, "r") on.exit(close(inf

Re: [Rd] Comments in the DESCRIPTION file

2012-12-06 Thread Uwe Ligges
On 06.12.2012 18:22, Mauricio Zambrano-Bigiarini wrote: On 07/11/12 11:01, Prof Brian Ripley wrote: On 07/11/12 09:53, Duncan Murdoch wrote: 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 re

Re: [Rd] Comments in the DESCRIPTION file

2012-12-06 Thread Mauricio Zambrano-Bigiarini
On 07/11/12 11:01, Prof Brian Ripley wrote: On 07/11/12 09:53, Duncan Murdoch wrote: 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. (

Re: [Rd] Comments in the DESCRIPTION file

2012-11-07 Thread Prof Brian Ripley
On 07/11/12 09:53, Duncan Murdoch wrote: 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 descriptio

Re: [Rd] Comments in the DESCRIPTION file

2012-11-07 Thread Duncan Murdoch
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 l

[Rd] Comments in the DESCRIPTION file

2012-11-07 Thread Christophe Genolini
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 __