Re: [Rd] Blank lines in DESCRIPTION

2013-11-27 Thread Laurent Gatto
heers, > Simon > > > On Nov 26, 2013, at 6:03 PM, Laurent Gatto wrote: > >> Dear R-devel list, >> >> I would like to enquire about the existence of blank lines in the >> DESCRIPTION file. >> >> Testing different possibilities with tools:::.read_des

[Rd] Blank lines in DESCRIPTION

2013-11-26 Thread Laurent Gatto
Dear R-devel list, I would like to enquire about the existence of blank lines in the DESCRIPTION file. Testing different possibilities with tools:::.read_description suggests that starting or ending with blank lines is acceptable while blank lines in the middle of the file get caught by out <-

Re: [Rd] Policy/best practices on renaming functions in packages

2013-06-11 Thread Laurent Gatto
AIM: jgrn307, MSN: jgrn...@hotmail.com, Gchat: jgrn307, Skype: jgrn3007 > > ______ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel -- [ Laurent Gatto | slashhome.be ] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] read.csv trap

2011-02-11 Thread Laurent Gatto
<- function(fn,sep=",",...) { >  colnames <- scan(fn,nlines=1,what="character",sep=sep,...) >  ncolnames <- length(colnames) >  maxcols <- max(count.fields(fn,sep=sep,...)) >  if (maxcols>ncolnames) { >    colnames <- c(colnames,paste(&quo

Re: [Rd] OT: Reason/history behind ## notation for comments?

2010-09-22 Thread Laurent Gatto
For what concerns emacs users, the number of '#' has different effects on the position of the comment. From the ESS manual: 'By default, comments beginning with ‘###’ are aligned to the beginning of the line. Comments beginning with ‘##’ are aligned to the current level of indentation for the block