e.g. vs for example

e.g.

adv
  • "for example" or "for the sake of an example": used to introduce an illustrative example or short list of examples. 

noun
  • An example. 

for example

prep
  • introducing one or more parts of the group or topic just mentioned or typical of the options available 

prep
  • As an example. 

How often have the words e.g. and for example occurred in a corpus of books? (source: Google Ngram Viewer )