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

From: Nathan Coulter <>
Date: Tue, 14 Oct 2008 08:46:36 -0400

Prof Brian Ripley wrote:

> But to the point: how often do people get DOS-style files on a
> Unix-alike? You have to work pretty hard to do this, and there comes a
> point at which complicating R to workaround wrongly encoded files is not
> worth the trouble. Let's see if anyone else reports having done this.

In my experience, this is a common occurrence. Granted, foreign line delimiters are less common in a configuration file like .Rbuildignore, but they have been the culprit more than once in package problems I have encountered. think functionality like Python's universal newlines would be a big win for R. One of the big draws in a programming language like Python is its claim to being portable, and universal newlines are a critical part of that functionality. Mac-style newline delimiters are surfacing more often these days as well, and the best place to sort this all out would be in the built-in file manipulation functions.

Nathan Coulter
Computer Programmer

______________________________________________ mailing list
Received on Tue 14 Oct 2008 - 13:06:35 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 Tue 14 Oct 2008 - 16:30:19 GMT.

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

list of date sections of archive