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

From: Achim Zeileis <Achim.Zeileis_at_uibk.ac.at>
Date: Thu, 19 May 2011 02:00:24 +0200 (CEST)

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 scripts etc.

hth,
Z

> On 19 May 2011, at 00:33, Rolf Turner wrote:
>
>>
>> On 19/05/11 10:26, Bill.Venables_at_csiro.au wrote:
>>
>> <SNIP>
>>> 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).
>> <SNIP>
>>
>> I must respectfully disagree with this view, and concur heartily with the style guide.
>> S4 classes and methods are a ball-and-chain that one has to drag along. See also
>> fortune("S4 methods"). :-)
>>
>> cheers,
>>
>> Rolf
>>
>> ______________________________________________
>> R-help_at_r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>
> ______________________________________________
> R-help_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Thu 19 May 2011 - 00:05:57 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

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 Thu 19 May 2011 - 00:10:08 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive