Hi,

it works for me with plyr version 0.1.9. Try upgrading to the latest
version, or post your sessionInfo()


HTH,

baptiste

2009/9/25 Veerappa Chetty <chett...@gmail.com>:
> Hi,I am using the amazing package 'plyr". I have one problem. I would
> appreciate help to fix the following error: Thanks.
> ______________________________
>
>> library(plyr)
>> data(baseball)
>> summarise(baseball,
> + duration = max(year) - min(year),
> + nteams = length(unique(team)))
> Error: could not find function "summarise"
>> ddply(baseball, "id", summarise,
> + duration = max(year) - min(year),
> + nteams = length(unique(team)))
> Error in llply(.data = .data, .fun = .fun, ..., .progress = .progress) :
>  object "summarise" not found
> --------------------------------------------
>
> --
> Professor of Family Medicine
> Boston University
> Tel: 617-414-6221, Fax:617-414-3345
> emails: chett...@gmail.com,vche...@bu.edu
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@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@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.

Reply via email to