[R] go with R :-) {Re: finding peaks ..}

Martin Maechler maechler at stat.math.ethz.ch
Wed Nov 23 17:18:50 CET 2005


>>>>> "MM" == Martin Maechler <maechler at stat.math.ethz.ch>
>>>>>     on Wed, 23 Nov 2005 14:35:14 +0100 writes:

    MM> I've been asked in private,
    MM> (and am replying BCC to the asker),

    >>> I saw your post on the R-help archives page about the possibility of 
    >>> porting a function from S-Plus called peaks() to R. I am looking for 
    >>> some way to locate peaks in a simple x,y data set, and thought that R 
    >>> might be the way to go.

    MM> "of course" it is the way to go, don't get lost be going
    MM> somewhere else  :-)
    MM> and try

    MM> install.packages("fortune")
    MM> fortune("go with R")

auch!  Two mistakes in such short section.. (thanks, Andy!)
Instead, it should have been


    >>> ..... and thought that R might be the way to go.

  "of course" it is the way to go, don't get lost by going somewhere else  :-)

and try

   install.packages("fortune")
   library(fortune)
   fortune("go with R")

Martin




More information about the R-help mailing list