The abbreviation e.g. is for the Latin exempli gratia, "for example." I.e., Latin id est, means "that is." They're not interchangeable. Both abbreviations should be followed by a comma.
http://andromeda.rutgers.edu/~jlynch/Writing/...If you insist on using the abbreviation, perhaps “example given” will remind you to use e.g.,
http://www.wsu.edu/~brians/errors/e.g.htmlIf the applicant is currently one of our tuition-paying clients, i.e., a student, the fee may be waived.
The best ingredients for pizza are green, e.g., spinach, artichokes, and green
The Chicago Manual of Style
http://www.chicagomanualofstyle.org/CMS_FAQ/A...We need hm--us, our grammar expert. :-)
https://dict.leo.org/forum/viewGeneraldiscuss...