Shapes are picked following a default scale when you input a variable to work as shape using ggplot2. You can always choose to tweak this scale to one of your preference. To do so you need to know which shapes are available and how you can call for them. This recipe simply draws the following shape palette:
Figure 2.4 - ggplot2 shape palette.
It shows available points, plus the number used to call for them. Now let's explore the code that built it.