Re: [Rd] Tabs in R source code

2009-12-04 Thread Martin Maechler
> "S" == Sharpie > on Thu, 3 Dec 2009 19:44:59 -0800 (PST) writes: S> pengyu.ut wrote: >> >> http://google-styleguide.googlecode.com/svn/trunk/google-r-style.html >> >> Here is the R style, which does not recommend using tabs. Although it >> might take some

Re: [Rd] Tabs in R source code

2009-12-03 Thread Sharpie
pengyu.ut wrote: > > http://google-styleguide.googlecode.com/svn/trunk/google-r-style.html > > Here is the R style, which does not recommend using tabs. Although it > might take some time to forbidden the use of tabs, it will eventually > be a good practice that benefits everyone in the future.

Re: [Rd] Tabs in R source code

2009-12-03 Thread Peng Yu
On Sun, Nov 29, 2009 at 11:18 AM, Duncan Murdoch wrote: > On 29/11/2009 11:50 AM, Peng Yu wrote: >> >> On Sun, Nov 29, 2009 at 10:40 AM, Duncan Murdoch >> wrote: >>> >>> On 29/11/2009 10:58 AM, Peng Yu wrote: Some lines are indented by tabs and some lines are indented by spaces, in

Re: [Rd] Tabs in R source code

2009-11-29 Thread Duncan Murdoch
On 29/11/2009 11:50 AM, Peng Yu wrote: On Sun, Nov 29, 2009 at 10:40 AM, Duncan Murdoch wrote: On 29/11/2009 10:58 AM, Peng Yu wrote: Some lines are indented by tabs and some lines are indented by spaces, in R source code. This might due to the fact that the source code is not from a single pe

Re: [Rd] Tabs in R source code

2009-11-29 Thread Peng Yu
On Sun, Nov 29, 2009 at 10:40 AM, Duncan Murdoch wrote: > On 29/11/2009 10:58 AM, Peng Yu wrote: >> >> Some lines are indented by tabs and some lines are indented by spaces, >> in R source code. This might due to the fact that the source code is >> not from a single person. But I think that it is

Re: [Rd] Tabs in R source code

2009-11-29 Thread Duncan Murdoch
On 29/11/2009 10:58 AM, Peng Yu wrote: Some lines are indented by tabs and some lines are indented by spaces, in R source code. This might due to the fact that the source code is not from a single person. But I think that it is better to enforce a single convention. My editor defaults a tab to 8

[Rd] Tabs in R source code

2009-11-29 Thread Peng Yu
Some lines are indented by tabs and some lines are indented by spaces, in R source code. This might due to the fact that the source code is not from a single person. But I think that it is better to enforce a single convention. My editor defaults a tab to 8 spaces. So some source doesn't seem to b