Re: [Rd] dos-style line endings in .Rbuildignore result in files not being excluded

From: Prof Brian Ripley <>
Date: Tue, 14 Oct 2008 18:38:30 +0100 (BST)

Thanks Bill, but this is 'build'. It is intended that INSTALL will be an R script in R 2.9.0 (actually, we intended it for 2.8.0 but ran out of time).

Our recommendation is to install from a tarball, except perhaps during package development. So read-only package dirs are not an issue.

On Tue, 14 Oct 2008, William Dunlap wrote:

>> -----Original Message-----
>> From:
>> [] On Behalf Of Tony Plate
>> Sent: Tuesday, October 14, 2008 8:40 AM
>> To:
>> Cc: Sebastian P. Luque; Prof Brian Ripley
>> Subject: Re: [Rd] dos-style line endings in .Rbuildignore
>> result in files not being excluded
> ...
>> It was pretty easy for me to get these line endings -- I
>> created the file in GNU Emacs under Windows, and rsync'ed the
>> package directory to a Ubuntu Linux machine. I went back and
>> checked, and GNU Emacs under Ubuntu did show (DOS) in the
>> status line of the buffer, but I never noticed that while I
>> was trying to figure out why my .Rbuildignore file wasn't
>> having any effect. (I think I preferred it when Emacs would
>> show ^M at the end of each line in a CRLF file -- not showing
>> that is what I meant by "hiding it from me".)
> In the Splus package system INSTALL copies the whole package
> directory to a temp directory before doing any other processing.
> If it sees a 'text' file, as determined by the perl -T (or ! -B) file
> test operators, the copied file will have local line endings.
> We don't use cygwin in the Splus package system, so what the local
> line ending is is clear. (Copying the entire directory also means
> we can run INSTALL on a read-only package directory and we don't
> leave around *.o or *.obj files that R CMD INSTALL won't like).
> Bill Dunlap
> TIBCO Spotfire Inc
> wdunlap
> ______________________________________________
> mailing list

Brian D. Ripley,        
Professor of Applied Statistics,
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________ mailing list
Received on Tue 14 Oct 2008 - 17:41:10 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 Wed 15 Oct 2008 - 10:30:29 GMT.

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

list of date sections of archive