Hi,

Have you checked that you have the latest version of ggplot2 and plyr?
Please post your sessionInfo()

HTH,

baptiste

2009/8/28 romunov <romu...@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]]

______________________________________________
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