visiting the library or studying in the room

What is more productive: visiting the library or studying in the room?