Hi guys,
I'm using R statistical package (a bit similar with S-plus, but R is a free version).
This is an overview of my data:

x y group
4 6 1
6 3 1
8 9 1
8 2 2
9 4 2
10 5 2

I want to do the scatterplot by group and put different color on each group.
(e.g. red for group 1 and blue for group 2).

I only know how to plot all of them in the same color using

Do you know how to make different color based on the group?

Thanks, God bless