[Rd] Mac OS X 2.5.1 / reg-plot.R / tr (PR#10781)

Duncan Murdoch murdoch at stats.uwo.ca
Sun Feb 17 14:54:08 CET 2008


On 17/02/2008 8:35 AM, A.R.Runnalls at kent.ac.uk wrote:
> In building R 2.6.2 from source for Mac OS X 2.5.1 (with
> i686-apple-darwin9-gcc-4.0.1), 'make check' fails.  The failure is in
> reg-plot.R, and occurs because Mac OS X's 'tr' command (invoked by Rdiff
> to strip carriage returns) regards the dagger sign in reg-plot.ps as an
> illegal byte sequence.
> 
> I'm surprised that this doesn't seem to have been reported before, but
> it was already present at least in R 2.6.1
> 
> Incidentally, couldn't the handling of line endings now be left to
> svn:eol-style?

svn:eol-style assumes that the machine which checks out the working copy 
is the same as the machine doing the editing.  You get really horrible 
messes when you do something like mounting a Unix drive on a PC, or 
emailing a file from one system to another, etc.  I've worked with it 
and without it, and I much prefer working without it.

Duncan Murdoch



More information about the R-devel mailing list