Bug with ggplot2 on mac OSX

14 views
Skip to first unread message

Arnaud

unread,
May 12, 2010, 11:22:27 AM5/12/10
to ggplot2
Dear all,


I am new in using ggplot2. I tried it on Win XP and it worked fine.
When I tried to se it on my mac (mac os X), here is what I get:

> p <- ggplot(mtcars, aes(wt, mpg))
> p + geom_point(aes(shape = factor(cyl)))
Error in match.fun(get("formatter", .)) :
'get("formatter", scale)' is not a function, character or symbol

This is the script given in the 'help' of the package...

Any idea to fix this problem?


Many thanks.

--
You received this message because you are subscribed to the ggplot2 mailing list.
Please provide a reproducible example: http://gist.github.com/270442

To post: email ggp...@googlegroups.com
To unsubscribe: email ggplot2+u...@googlegroups.com
More options: http://groups.google.com/group/ggplot2

James Howison

unread,
May 12, 2010, 1:46:51 PM5/12/10
to ggplot2
Probably helpful to include the output of:

sessionInfo()

The commands work for me on OS X:

R version 2.10.1 (2009-12-14)
x86_64-apple-darwin9.8.0

locale:
[1] en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8

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

other attached packages:
[1] ggplot2_0.8.7 digest_0.4.2 reshape_0.8.3 proto_0.3-8 foreach_1.3.0
[6] codetools_0.2-2 iterators_1.0.3 plyr_0.1.9 RMySQL_0.7-4 DBI_0.2-5

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


--J
Reply all
Reply to author
Forward
0 new messages