As far as I know, the packages are up to date. I have had identical problems
on 2.9.1 as well as on 2.8.1. I did a fresh install of 2.9.1 to no avail.
Here is my sessionInfo():

> sessionInfo()
R version 2.9.1 (2009-06-26)
i386-pc-mingw32

locale:
LC_COLLATE=Slovenian_Slovenia.1250;LC_CTYPE=Slovenian_Slovenia.1250;LC_MONETARY=Slovenian_Slovenia.1250;LC_NUMERIC=C;LC_TIME=Slovenian_Slovenia.1250

attached base packages:
[1] stats     graphics  grDevices utils     datasets  grid      methods
[8] base

other attached packages:
[1] ggplot2_0.8.3 reshape_0.8.3 plyr_0.1.9    proto_0.3-8

loaded via a namespace (and not attached):
[1] tools_2.9.1

Cheers,
Roman




On Fri, Aug 28, 2009 at 10:05 AM, baptiste auguie <
baptiste.auguie@googlemail.com> wrote:

> Hi,
>
> Have you checked that you have the latest version of ggplot2 and plyr?
> Please post your sessionInfo()
>
> HTH,
>
> baptiste
>
> 2009/8/28 romunov <romunov@gmail.com>
>
>> Dear R-Help subsribers,
>>
>>  upon running into a wonderful ggplot2 package by accident, I abruptly
>> encountered another problem. Almost every command run with ggplot2 results
>> in some sort of error. The one below is far the most common one. Kind
>> people
>> from ggplot2 mailing list couldn't manage to solve the problem, so I'm
>> re-posting it here to try my luck. I will recommend myself for any tips on
>> how to solve this, as I would really benefit from using this package.
>>
>>  > head(cebelice)
>>   time c2
>> 1 00:00  0
>> 2 00:15  0
>> 3 00:30  0
>> 4 00:45  0
>> 5 01:00  0
>> 6 01:15  0
>> > dim(cebelice)
>> [1] 96  2
>> > ggplot(cebelice, aes(x=time, y=c2)) + geom_histogram()
>> Error in all.vars(as.formula(.$facets)) :
>>  could not find function "as.formula"
>>
>>
>> This is straight from ggplot2 sample page for barplots:
>>
>> > c <- ggplot(mtcars, aes(factor(cyl)))
>> > c + geom_bar()
>> Error in get("transform", env = ., inherits = TRUE)(., ...) :
>>  attempt to apply non-function
>>
>>
>> Sincerely yours,
>>
>> Roman
>>
>>        [[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.
>>
>
>
>
> --
> _____________________________
>
> Baptiste Auguié
>
> School of Physics
> University of Exeter
> Stocker Road,
> Exeter, Devon,
> EX4 4QL, UK
>
> http://newton.ex.ac.uk/research/emag
> ______________________________
>
>

	[[alternative HTML version deleted]]


