Re: [R] R Style Guide -- Was Post-hoc tests in MASS using glm.nb

2011-05-23 Thread Richard . Cotton
> LIST OF CONVENTIONS/STYLES FOR R: > > [1] R coding standards in the R Internals manual > http://www.cran.r-project.org/doc/manuals/R-ints.html#R-coding-standards > > [2] Bioconductor coding standards > http://wiki.fhcrc.org/bioc/Coding_Standards > > [3] Google R style > [http://google-styleg

Re: [R] R Style Guide -- Was Post-hoc tests in MASS using glm.nb

2011-05-19 Thread Kevin Wright
; Sent: Thursday, 19 May 2011 9:34 AM > To: Venables, Bill (CMIS, Dutton Park) > Cc: r-help@r-project.org > Subject: Re: [R] R Style Guide -- Was Post-hoc tests in MASS using glm.nb > > > On 19/05/11 10:26, bill.venab...@csiro.au wrote: > > > > Most of [the Google styl

Re: [R] R Style Guide -- Was Post-hoc tests in MASS using glm.nb

2011-05-19 Thread Spencer Graves
Is a list like Henrik's (below) available someplace on r-project.org or on your local CRAN mirror? If no, where do you think it might most conveniently fit? What about "www.r-project.org/other-docs.html"? Perhaps add a bullet right under the link to "DevCheatSheet has a collection of R Refere

Re: [R] R Style Guide -- Was Post-hoc tests in MASS using glm.nb

2011-05-19 Thread Bert Gunter
Thanks Martin, Your points are, of course, well taken. Nevertheless, I still think it might be useful to put a link or links to one or more style guides in the FAQ with a comment to the effect that these are various recommended ways to help write better, more readable code. Something like: --

Re: [R] R Style Guide -- Was Post-hoc tests in MASS using glm.nb

2011-05-19 Thread Martin Maechler
BertG> Thanks Bill. Do you and others think that a link to BertG> this guide (or another)should be included in the BertG> Posting Guide and/or R FAQ? Hmm, that guide is Google's work, and is probably quite good if you have a group of R programmers in the same company, but e.g., has no

Re: [R] R Style Guide -- Was Post-hoc tests in MASS using glm.nb

2011-05-19 Thread Jim Lemon
On 05/19/2011 09:45 AM, Joshua Wiley wrote: ... the advantages of formal classes seem worth at least not entirely dismissing. Hmmm, yeah, that's about the grammatical equivalent of S4 classes. Jim __ R-help@r-project.org mailing list https://stat.et

Re: [R] R Style Guide -- Was Post-hoc tests in MASS using glm.nb

2011-05-18 Thread Henrik Bengtsson
On Wed, May 18, 2011 at 6:28 PM, David Scott wrote: >  Another style guide is at: > http://www1.maths.lth.se/help/R/RCC/ > > Listed as a first draft and dated 2005, but still worth a read. Has some > references also. That URL obsolete (I need to have it removed) - a more recent/stable URL is [5]

Re: [R] R Style Guide -- Was Post-hoc tests in MASS using glm.nb

2011-05-18 Thread David Scott
Another style guide is at: http://www1.maths.lth.se/help/R/RCC/ Listed as a first draft and dated 2005, but still worth a read. Has some references also. I think I recall Hadley having a style guide which he requested his students followed, but I didn't like it too much (sorry Hadley) . I

Re: [R] R Style Guide -- Was Post-hoc tests in MASS using glm.nb

2011-05-18 Thread Bill.Venables
Subject: Re: [R] R Style Guide -- Was Post-hoc tests in MASS using glm.nb On 19/05/11 10:26, bill.venab...@csiro.au wrote: > Most of [the Google style guide's] advice is very good (meaning I agree with > it!) but some is a bit too much (for example, the blanket advice never to use &g

Re: [R] R Style Guide -- Was Post-hoc tests in MASS using glm.nb

2011-05-18 Thread Achim Zeileis
On Thu, 19 May 2011, Timothy Bates wrote: lol:-) is there a way to get a fortune on start up in R? One possible way is to put something like this into your .Rprofile if(interactive()) { library("fortunes") fortune() } The interactive() condition avoids having it in the output of certain

Re: [R] R Style Guide -- Was Post-hoc tests in MASS using glm.nb

2011-05-18 Thread Joshua Wiley
On Wed, May 18, 2011 at 4:44 PM, Timothy Bates wrote: > lol:-) >  is there a way to get a fortune on start up in R? You could require() and fortune() one in your .Rprofile > On 19 May 2011, at 00:33, Rolf Turner wrote: > >> >> On 19/05/11 10:26, bill.venab...@csiro.au wrote: >> >> >>> Most of [

Re: [R] R Style Guide -- Was Post-hoc tests in MASS using glm.nb

2011-05-18 Thread Joshua Wiley
On Wed, May 18, 2011 at 4:33 PM, Rolf Turner wrote: > On 19/05/11 10:26, bill.venab...@csiro.au wrote: > >> >> Most of [the Google style guide's] advice is very good (meaning I agree >> with it!) but some is a bit too much (for example, the blanket advice never >> to use S4 classes and methods -

Re: [R] R Style Guide -- Was Post-hoc tests in MASS using glm.nb

2011-05-18 Thread Timothy Bates
lol:-) is there a way to get a fortune on start up in R? On 19 May 2011, at 00:33, Rolf Turner wrote: > > On 19/05/11 10:26, bill.venab...@csiro.au wrote: > > >> Most of [the Google style guide's] advice is very good (meaning I agree with >> it!) but some is a bit too much (for example, the b

Re: [R] R Style Guide -- Was Post-hoc tests in MASS using glm.nb

2011-05-18 Thread Rolf Turner
On 19/05/11 10:26, bill.venab...@csiro.au wrote: Most of [the Google style guide's] advice is very good (meaning I agree with it!) but some is a bit too much (for example, the blanket advice never to use S4 classes and methods - that's just resisting progress, in my view). I must respectf

Re: [R] R Style Guide -- Was Post-hoc tests in MASS using glm.nb

2011-05-18 Thread Bill.Venables
Hi Bert, I think people should know about the Google Sytle Guide for R because, as I said, it represents a thoughtful contribution to the debate. Most of its advice is very good (meaning I agree with it!) but some is a bit too much (for example, the blanket advice never to use S4 classes and m

Re: [R] R Style Guide -- Was Post-hoc tests in MASS using glm.nb

2011-05-18 Thread Steve_Friedman
This is the first time I've seen an R Style Guide. I will admit that I haven't looked for one previously, but nevertheless I still haven't seen one. My code style simply evolved (perhaps, chugged along) by reading posts from other users who post to the r-help community. I regularly program with a

[R] R Style Guide -- Was Post-hoc tests in MASS using glm.nb

2011-05-18 Thread Bert Gunter
Thanks Bill. Do you and others think that a link to this guide (or another)should be included in the Posting Guide and/or R FAQ? -- Bert On Tue, May 17, 2011 at 4:07 PM, wrote: > Amen to all of that, Bert.  Nicely put.  The google style guide (not perfect, > but a thoughtful contribution on th