Skip to content
Prev 35086 / 63421 Next

Tabs in R source code

On 29/11/2009 11:50 AM, Peng Yu wrote:
It is not feasible because it would require everyone who edits the 
source code to change the configuration of their editors.  In my case, 
that would require changing about 3 different types of editors (I work 
on several different platforms).  I would probably miss one, and 
re-introduce tabs the next time I edited a file on that editor.

I've already seen problems in the NEWS and CHANGES files, which have 
recently changed to UTF-8 encoding.  It's very irritating that my editor 
switches back to the Windows default if it doesn't see a byte-order 
mark, and that some editors that I use automatically delete the BOM. 
Requiring a particular "encoding" for tabs (i.e. converting them to 
spaces) would lead to the same problems, but on a much bigger scale.

Duncan Murdoch