The library doesn't even approximate a substitute. Maybe you are a genius, but almost everyone needs teachers. Even experts need people to teach them new things, to mentor them, etc. They also need labs and equipment.
Also, the library you need for real reasearch is not free. It only exists in academia. Your local public library doesn't give you access to nearly the same resources, nor the essential reference librarians. (Maybe the NY Public Library? Does that have JSTOR, for example?)