"scale_colour_manual" ?

22 views
Skip to first unread message

Joy

unread,
Jul 5, 2010, 9:21:28 AM7/5/10
to ggplot2
Hi,

I'm just started with ggplot2, I have a very basic question, I would
like to use "scale_colour_manual()" but the function is not
recognized. I verified the installation of ggplot2 and the related
pacakges, what could be the possible problems?

Thanks for your help,
Joy

Brandon Hurr

unread,
Jul 5, 2010, 9:26:54 AM7/5/10
to Joy, ggplot2
A good place to start is to run sessionInfo() and paste the output in a reply.

-B


--
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

Joy SUN

unread,
Jul 5, 2010, 9:32:34 AM7/5/10
to Brandon Hurr, ggplot2
Here it is:


R version 2.5.1 (2007-06-27)
i386-pc-mingw32

locale:
LC_COLLATE=French_France.1252;LC_CTYPE=French_France.1252;LC_MONETARY=French_France.1252;LC_NUMERIC=C;LC_TIME=French_France.1252

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

other attached packages:
     ggplot2   colorspace RColorBrewer         MASS        proto      reshape
     "0.5.5"       "0.95"      "1.0-2"     "7.2-34"      "0.3-8"      "0.8.0"

Brandon Hurr

unread,
Jul 5, 2010, 9:39:20 AM7/5/10
to Joy SUN, ggplot2
Old R is old. 

The newest R version is 2.11.1 and ggplot2 is 0.8.7 (I think). 

http://cran.r-project.org/ and install the new ggplot2 from there. 

Update and see if your code works. 

Joy SUN

unread,
Jul 5, 2010, 9:58:38 AM7/5/10
to Brandon Hurr, ggplot2
Yes, it works now!

Thanks a lot!
Joy
Reply all
Reply to author
Forward
0 new messages